[ruby-cvs:60856] nobu:r53695 (trunk): vm_eval.c: fix hook call

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jan 30 15:19:13 JST 2016


nobu	2016-01-30 15:19:13 +0900 (Sat, 30 Jan 2016)

  New Revision: 53695

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

  Log:
    vm_eval.c: fix hook call
    
    * vm_eval.c (rb_check_funcall_with_hook): also should call the
      given hook before returning Qundef when overridden respond_to?
      method returned false.  [ruby-core:73556] [Bug #12030]

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_hash.rb
    trunk/vm_eval.c


More information about the ruby-cvs mailing list