Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6
-
Fix Version/s: JRuby 1.6.2, JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:OSX
-
Number of attachments :
Description
Proc#=== is same as Proc#call in Ruby1.9.
JRuby1.6 in 1.9 mode is not so.
In MRI 1.9, Proc#call, Proc#[], Proc#===, and Proc#yield are equivalent.
Fixed in master in https://github.com/jruby/jruby/commit/95b8418eaafcacf221df6d6be4fa51371cefc115
in the 1.6 branch in https://github.com/jruby/jruby/commit/0c02a739daaad9683b5ff9c042dc8160e62fd8b8