[ruby-cvs:68112] shugo:r60931 (trunk): Unused module refinement shouldn't break method search.

shugo at ruby-lang.org shugo at ruby-lang.org
Wed Nov 29 17:39:47 JST 2017


shugo	2017-11-29 17:39:47 +0900 (Wed, 29 Nov 2017)

  New Revision: 60931

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

  Log:
    Unused module refinement shouldn't break method search.
    
    Use rb_callable_method_entry_t::defined_class instead of
    rb_callable_method_entry_t::owner, because the superclass of iclass
    should be searched for modules. [ruby-core:83613] [Bug #14068]

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


More information about the ruby-cvs mailing list