[ruby-cvs:49866] nobu:r42724 (trunk): vm_insnhelper.c: fix zsuper in prepended

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Aug 29 17:03:24 JST 2013


nobu	2013-08-29 17:03:23 +0900 (Thu, 29 Aug 2013)

  New Revision: 42724

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42724

  Log:
    vm_insnhelper.c: fix zsuper in prepended
    
    * vm_insnhelper.c (vm_call_method): a method entry refers the based
      class/module, so should search superclass from the origin i-class
      where the entry belongs to, to get rid of infinite loop when zsuper
      in a prepended class/module.  [ruby-core:54105] [Bug #8238]

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_module.rb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list