[ruby-cvs:60543] nobu:r53380 (trunk): object.c: fix prepend cmp

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Dec 30 09:58:59 JST 2015


nobu	2015-12-30 09:58:58 +0900 (Wed, 30 Dec 2015)

  New Revision: 53380

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

  Log:
    object.c: fix prepend cmp
    
    * object.c (rb_class_inherited_p): search the corresponding
      ancestor to prepended module from prepending class itself.
      [ruby-core:72493] [Bug #11878]

  Modified files:
    trunk/ChangeLog
    trunk/object.c
    trunk/test/ruby/test_module.rb


More information about the ruby-cvs mailing list