Project

General

Profile

Bug #11425 ยป bug11425.patch

matsuda (Akira Matsuda), 08/09/2015 08:19 PM

View differences:

test/ruby/test_method.rb
assert_nil(m, bug11419)
end
def test_super_method_unbound_with_prepend
c = Class.new { def a; end }
m = Module.new { def a; end }
c.prepend m
super_meth = c.instance_method(:a).super_method
assert_not_nil super_meth
assert_equal c, super_meth.owner
end
def test_super_method_module
m1 = Module.new {def foo; end}
c1 = Class.new(Derived) {include m1; def foo; end}
    (1-1/1)