Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.0
-
Fix Version/s: JRuby 0.9.1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
Demonstrated by this test case:
class A
def test; self.class; end
end
class B < A; end
class C < B; end
um = B.instance_method(:test)
test_equal(C, um.bind(C.new).call)
Fixed!