> On 08 Nov 2014, at 5:55 , Werner Kassens <wkass...@libello.com> wrote:
> 
> but if you omit the space between - and 3 the old compiler understands it 
> too, hence its just a convenience thing that cant lead to misunderstandings, 
> or?
> btw opal also understands this:
> -        3@2. --> (-3@2)
> i mean, its obvious nevertheless that "-" is not a method like negated, but 
> part of a number and opal is just a bit more flexible with number formatting.
> werner
> 
> On 11/08/2014 04:40 PM, Nicolai Hess wrote:
>> Old compiler refuses to accept this code:
>> 
>> - 4 @ -5
>> ^-- nothing more expected
>> 
>> Opal compiler does just fine:
>> 
>> - 4 @ -5 -> (-4@ -5)
>> 
>> who is right?
> 

IMHO, the old compiler is right, whitespace should not be allowed in literals.
For instance, 3 @ - 5 reads like gibberish.

Cheers,
Henry

Reply via email to