Issue #3163 has been updated by caleb clausen.


Nobu, can you please comment on those other examples of ambiguous operators I posted above? For example:

  p=0; p %[foo]

Currently, the second p is a variable and %[foo] is an operator and an array, but to be consistent with the change you just made, the second p should be a method, and %[foo] should be a string. Should that and the other ambiguous operators be parsed as they currently are, or in the same way that 'p=0; p :foo' now works?
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3163

----------------------------------------
http://redmine.ruby-lang.org