[ruby-cvs:52731] nobu:r45585 (trunk): proc.c: use already included ancestor iclass

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Apr 14 17:20:12 JST 2014


nobu	2014-04-14 17:20:10 +0900 (Mon, 14 Apr 2014)

  New Revision: 45585

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

  Log:
    proc.c: use already included ancestor iclass
    
    * proc.c (umethod_bind): use the ancestor iclass instead of new
      iclass to get rid of infinite recursion, if the defined module
      is already included.  [ruby-core:62014] [Bug #9721]

  Modified files:
    trunk/ChangeLog
    trunk/proc.c
    trunk/test/ruby/test_super.rb


More information about the ruby-cvs mailing list