You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I remove private or a. the same S-expression is returned from MRI and JRuby. If I change the block to use { ... } or add paranthesis around the def m; ...; end it also works.
Loading the code into JRuby works just fine, but parsing it with Ripper does not.
This seems related to the issue #4663, but the syntax is just slightly different.
The text was updated successfully, but these errors were encountered:
…nd others.
While slowly figuring out a single-line change which fixed this issue I also
noticed several other mismatches between the two parsers. Hopefully, at this
point, they are identical.
I also deleted a emacs turd.
RubyParser.y appears to be changed but they were minor whitespace differences
with Ripper. I tried to make these two files a little bit easier to diff.
…nd others.
While slowly figuring out a single-line change which fixed this issue I also
noticed several other mismatches between the two parsers. Hopefully, at this
point, they are identical.
I also deleted a emacs turd.
RubyParser.y appears to be changed but they were minor whitespace differences
with Ripper. I tried to make these two files a little bit easier to diff.
In JRuby 9.1.14.0 (and current master), the following command prints
nil
, whereas for MRI it prints a large S-expression.If I remove
private
ora.
the same S-expression is returned from MRI and JRuby. If I change the block to use{ ... }
or add paranthesis around thedef m; ...; end
it also works.Loading the code into JRuby works just fine, but parsing it with Ripper does not.
This seems related to the issue #4663, but the syntax is just slightly different.
The text was updated successfully, but these errors were encountered: