> |Well, I guess it comes down to what you mean by an integer > |literal. Right now, we have a somewhat confusing situation: > | > | a = -2 > | > |assigns '-2' directly to a > | > | a = -2.+(3) > | > |generates 5:Fixnum, then applies -@, resulting in -5. > > Agree with it. According to the principle of less surprise, I'll > change the parser to understand UMINUS followed by digits as number. > Acutually it worked so before. I removed that for simplicity, but > maybe it was too simple. > > matz. does this have anything to do with the following? irb(main):001:0> -2 ** 2 -4 irb(main):002:0>