From: matz@... (Yukihiro Matsumoto) Date: 2000-01-24T16:50:12+09:00 Subject: [ruby-talk:01171] Re: Possible bug in ruby-man-1.4 Hi, In message "[ruby-talk:01168] Re: Possible bug in ruby-man-1.4" on 00/01/23, Dave Thomas writes: |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.