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.1.0.0 :002 > [1,2,3,4,5].max {|el| puts el.inspect; el }
[2, 1]
NoMethodError: undefined method `>' for [2, 1]:Array
from org/jruby/RubyArray.java:4211:in `max'
from (irb):2:in `<eval>'
from org/jruby/RubyKernel.java:983:in `eval'
from org/jruby/RubyKernel.java:1290:in `loop'
from org/jruby/RubyKernel.java:1103:in `catch'
from org/jruby/RubyKernel.java:1103:in `catch'
Environment
jRuby 9.1.0.0
Expected Behavior
in 9.0.1.0
Actual Behavior
In MRI 2.3.1
The text was updated successfully, but these errors were encountered: