[ruby-cvs:56656] nobu:r49506 (trunk): convert method name to a Symbol

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Feb 5 13:41:06 JST 2015


nobu	2015-02-05 13:41:05 +0900 (Thu, 05 Feb 2015)

  New Revision: 49506

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

  Log:
    convert method name to a Symbol
    
    * vm_eval.c (send_internal), vm_insnhelper.c (vm_call_opt_send):
      convert String method name into a Symbol, as method_missing
      method expects its first argument to be a Symbol.  [Bug #10828]

  Modified files:
    trunk/ChangeLog
    trunk/test/-ext-/symbol/test_inadvertent_creation.rb
    trunk/vm_eval.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list