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 1.7.24 (1.9.3p551) 2016-01-20 bd68d85 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_79-b15 +jit [Windows 7-amd64]
Expected Behavior
Since JRuby 1.7.24 is supposed to implement the language of Ruby 1.9.3, the expression [[1]].flatten(1) should evaluate to [1] (see the documentation of flatten).
Actual Behavior
ArgumentError: wrong number of arguments calling flatten (1 for 0)
The text was updated successfully, but these errors were encountered:
Environment
jruby 1.7.24 (1.9.3p551) 2016-01-20 bd68d85 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_79-b15 +jit [Windows 7-amd64]
Expected Behavior
Since JRuby 1.7.24 is supposed to implement the language of Ruby 1.9.3, the expression
[[1]].flatten(1)
should evaluate to[1]
(see the documentation of flatten).Actual Behavior
ArgumentError: wrong number of arguments calling
flatten
(1 for 0)The text was updated successfully, but these errors were encountered: