[ruby-cvs:52996] nobu:r45850 (trunk): vm_eval.c: exclude hidden variables

nobu at ruby-lang.org nobu at ruby-lang.org
Wed May 7 11:25:44 JST 2014


nobu	2014-05-07 11:25:43 +0900 (Wed, 07 May 2014)

  New Revision: 45850

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

  Log:
    vm_eval.c: exclude hidden variables
    
    * vm_eval.c (rb_f_local_variables): exclude variables hidden by
      shadowing.  [ruby-core:60501] [Bug #9486]
    * vm.c (collect_local_variables_in_iseq): ditto.

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


More information about the ruby-cvs mailing list