[ruby-cvs:51603] nobu:r44458 (trunk): proc.c: fix inherited method owner

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Dec 29 12:11:18 JST 2013


nobu	2013-12-29 12:11:17 +0900 (Sun, 29 Dec 2013)

  New Revision: 44458

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

  Log:
    proc.c: fix inherited method owner
    
    * proc.c (mnew_from_me): keep iclass as-is, to make inheritance
      chain consistent.  [ruby-core:59358] [Bug #9315]
    
    * proc.c (method_owner): return the original defined_class from
      prepended iclass, instead.
    
    * vm_insnhelper.c (vm_search_super_method): revert r44455, no
      longer defined_class becomes a module.

  Modified files:
    trunk/ChangeLog
    trunk/proc.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list