Bug #9326

No superclass method in ruby 2.1

Added by nmueller (Nate Mueller) about 7 years ago. Updated almost 7 years ago.

Target version:
ruby -v:
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0]


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.


test.rb (492 Bytes) test.rb nmueller (Nate Mueller), 12/31/2013 06:33 AM

Updated by nobu (Nobuyoshi Nakada) about 7 years ago

Does it work on the trunk?

Updated by wanabe (_ wanabe) about 7 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) about 7 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) about 7 years ago

I created backport issue #9349 for Ruby 2.1.

Updated by hsbt (Hiroshi SHIBATA) almost 7 years ago

  • Status changed from Open to Closed

ruby_2_1 fixed this issue. Please wait until next release of Ruby 2.1

Also available in: Atom PDF