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
jruby 9.2.14.0 (2.5.7) 2020-12-08 ebe64ba OpenJDK 64-Bit Server VM 25.265-b01 on 1.8.0_265-b01 +jit [darwin-x86_64]
Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
Note the difference is the comparison operator gets reported as an @op node, whereas on CRuby it's just a Symbol. Interestingly, if you change it to 1 + 2, it'll be a Symbol.
The text was updated successfully, but these errors were encountered:
<, >, <=, and >= were not returning interned string values like all
other binary operations. Changed to make them match.
Bonus fix! dsym was using xstrings instead of strings (MRI parser
does this). Matched up.
Environment Information
jruby 9.2.14.0 (2.5.7) 2020-12-08 ebe64ba OpenJDK 64-Bit Server VM 25.265-b01 on 1.8.0_265-b01 +jit [darwin-x86_64]
Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
Expected Behavior
On CRuby
Actual Behavior
On JRuby:
Note the difference is the comparison operator gets reported as an
@op
node, whereas on CRuby it's just a Symbol. Interestingly, if you change it to1 + 2
, it'll be a Symbol.The text was updated successfully, but these errors were encountered: