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
This may or may not be worth fixing, but it was brought up as part of #1347.
The following code behaves rather oddly across JRuby and MRI versions:
if (a,b = function_returning_nil())
puts "hello"
end
MRI 1.8.7, 1.9.3, 2.0.0, and 2.1.0 all produce a SyntaxError in IRB but only a warning when running the code directly.
JRuby in 1.8 mode produces the SyntaxError in IRB and when running the code directly. JRuby in 1.9 mode does not produce the error or the warning in either IRB or when running the code directly. JRuby master (2.1 mode only) behaves the same as JRuby in 1.9 mode.
This seems pretty trivial and may not be worth fixing, since JRuby actually seems more correct than MRI when JRuby runs in 1.9 and 2.1 modes.
The text was updated successfully, but these errors were encountered:
This may or may not be worth fixing, but it was brought up as part of #1347.
The following code behaves rather oddly across JRuby and MRI versions:
MRI 1.8.7, 1.9.3, 2.0.0, and 2.1.0 all produce a SyntaxError in IRB but only a warning when running the code directly.
JRuby in 1.8 mode produces the SyntaxError in IRB and when running the code directly. JRuby in 1.9 mode does not produce the error or the warning in either IRB or when running the code directly. JRuby master (2.1 mode only) behaves the same as JRuby in 1.9 mode.
This seems pretty trivial and may not be worth fixing, since JRuby actually seems more correct than MRI when JRuby runs in 1.9 and 2.1 modes.
The text was updated successfully, but these errors were encountered: