[ruby-cvs:57520] nobu:r50372 (trunk): vm_eval.c: allow symbols to instance_eval/exec

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Apr 23 11:35:59 JST 2015


nobu	2015-04-23 11:35:58 +0900 (Thu, 23 Apr 2015)

  New Revision: 50372

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

  Log:
    vm_eval.c: allow symbols to instance_eval/exec
    
    * vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow
      symbols to just instance_eval/exec, execept for definition of
      singletons.  [ruby-core:68961] [Bug #11086]

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


More information about the ruby-cvs mailing list