Project

General

Profile

Bug #6907 ยป fail.patch

tenderlovemaking (Aaron Patterson), 08/23/2012 05:54 AM

View differences:

test/ruby/test_super.rb
}
assert_equal 'hi', y.hello
end
def test_super_in_thread
hoge = Class.new {
def bar; 'hoge'; end
}
foo = Class.new(hoge) {
def bar; Thread.new { super }.join.value; end
}
assert_equal 'hoge', foo.new.bar
end
end
    (1-1/1)