From: Caleb Clausen Date: 2009-07-21T23:40:20+09:00 Subject: [ruby-core:24478] Re: [Bug #1801] parse error on variable/method collision Yukihiro Matsumoto wrote: > |In other words, the /a should be inside the arg list to ep(), however, it actually gets put outside. > > It's intentional. We cannot always fulfill everyone's expectation > from various background. When you claim "should" in your bug report, > you have to include your rationale more than mere expectation in the > report. When I showed this to you at rubyconf, you confirmed that it was a bug. That's why I was so certain in my wording. I did include a list of the parse rules which would seem to apply in this case, as far as I understand them and how this example violates those rules. > |Rubinius has an even more severe version of the problem. It outputs 50, which indicates that it not only misparses, it also evaluates the expression 'ep (a)' as a local variable, completely ignoring the arg list! > > It seems to be a bug in Rubinius. You should report to its maintainers. I realize this isn't the rubinius list, I was just trying to illustrate how widespread this behavior is.