Project

General

Profile

« Previous | Next » 

Revision f0f3821b

Added by nagachika (Tomoyuki Chikanaga) over 10 years ago

merge revision(s) 44175,44179: [Backport #9236]

    * proc.c (method_owner): return the class where alias is defined, not
      the class original method is defined.

    * vm_method.c (rb_method_entry_make, rb_alias): store the originally
      defined class in me.  [Bug #7993] [Bug #7842] [Bug #9236]

    * vm_method.c (rb_method_entry_get_without_cache): cache included
      module but not iclass.

    * proc.c (mnew_from_me): achieve the original defined_class from
      prepended iclass, to fix inherited owner.

    * proc.c (method_owner): return the defined class, but not the
      class which the method object is created from.

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