[ruby-cvs:52711] nobu:r45565 (trunk): proc.c: fix super in bound UnboundMethod

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Apr 11 15:05:29 JST 2014


nobu	2014-04-11 15:05:28 +0900 (Fri, 11 Apr 2014)

  New Revision: 45565

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

  Log:
    proc.c: fix super in bound UnboundMethod
    
    * proc.c (rb_method_call_with_block, umethod_bind): call with
      IClass including the module for a module instance method.
      [ruby-core:61936] [Bug #9721]
    * vm_insnhelper.c (vm_search_super_method): allow bound
      UnboundMethod case.

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


More information about the ruby-cvs mailing list