[ruby-cvs:66159] nobu:r58985 (trunk): vm_eval.c: fix rb_check_funcall_default

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jun 1 17:02:41 JST 2017


nobu	2017-06-01 17:02:41 +0900 (Thu, 01 Jun 2017)

  New Revision: 58985

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

  Log:
    vm_eval.c: fix rb_check_funcall_default
    
    * vm_eval.c (check_funcall_missing): revert r58984.  should call
      method_missing if respond_to_missing is not redefined.
    
    * vm_eval.c (rb_check_funcall_default): return the default value
      if respond_to_missing and method_missing are not defined.

  Modified files:
    trunk/vm_eval.c


More information about the ruby-cvs mailing list