[ruby-cvs:68665] nobu:r61484 (trunk): vm_method.c: fix super in refined module

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 26 19:32:58 JST 2017


nobu	2017-12-26 19:32:58 +0900 (Tue, 26 Dec 2017)

  New Revision: 61484

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61484

  Log:
    vm_method.c: fix super in refined module
    
    * vm_method.c (rb_method_entry_complement_defined_class): clone
      the original method entry of refined module instance method with
      the active ICLASS, to track super method chain.
      [ruby-dev:50390] [Bug #14232]

  Modified files:
    trunk/test/ruby/test_refinement.rb
    trunk/vm_method.c


More information about the ruby-cvs mailing list