Bug #9326
closedNo superclass method in ruby 2.1
Description
Runing ruby 2.1 plus nobu's patch from issue 9315. Without the patch it segfaults.
Found this testing testing test-redef with ruby 2.1. Works on 2.0.0-p353 and fails on 2.1.0. When the replacement method calls the alias directly it works but when we fetch the method and #call it the mixin can't super up.
Files
Updated by nobu (Nobuyoshi Nakada) almost 11 years ago
Does it work on the trunk?
Updated by wanabe (_ wanabe) almost 11 years ago
Seems to be fine on ruby_2_1, after r44410 (merging r44380).
I confirmed NoMethodError is raised on 2.1.0 (r44340) and not on ruby_2_1 (r44443).
But 'ruby -v' of this ticket is revision 44422 (> 44410).
Really test.rb fails on r44422? I can't figure out what happens.
Updated by nmueller (Nate Mueller) almost 11 years ago
Confirmed that it works on trunk. Looks like the fix was r44458. It still fails on ruby_2_1.
I can't explain the 'ruby -v' discrepancy. I did a fresh download of 2.1.0 and confirmed that's what it reports.
Updated by hsbt (Hiroshi SHIBATA) almost 11 years ago
I created backport issue #9349 for Ruby 2.1.
Updated by hsbt (Hiroshi SHIBATA) over 10 years ago
- Status changed from Open to Closed
ruby_2_1 fixed this issue. Please wait until next release of Ruby 2.1