Project

General

Profile

« Previous | Next » 

Revision a69f01fa

Added by nobu (Nobuyoshi Nakada) over 10 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e