[ruby-cvs:51672] nobu:r44527 (trunk): vm_insnhelper.c: revive r44455 for bound module method

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jan 8 22:53:19 JST 2014


nobu	2014-01-08 22:53:18 +0900 (Wed, 08 Jan 2014)

  New Revision: 44527

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

  Log:
    vm_insnhelper.c: revive r44455 for bound module method
    
    * vm_insnhelper.c (vm_search_super_method): when super called in a
      bound UnboundMethod generated from a module, no superclass is
      found since the current defined class is the module, then call
      method_missing in that case.  [ruby-core:59619] [Bug #9377]

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


More information about the ruby-cvs mailing list