ruby-cvs:23637
From: mame ruby-lang.org
Date: Mon, 12 May 2008 23:42:18 +0900 (JST)
Subject: [ruby-cvs:23637] Ruby:r16397 (trunk): * vm.c (collect_local_variables_in_env): remove unnecessary check
mame 2008-05-12 23:42:17 +0900 (Mon, 12 May 2008)
New Revision: 16397
Modified files:
trunk/ChangeLog
trunk/test/ruby/test_variable.rb
trunk/vm.c
Log:
* vm.c (collect_local_variables_in_env): remove unnecessary check
which causes: x=1;proc{local_variables}.call #=> []
* test/ruby/test_variable.rb: add a test for above.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_variable.rb?r1=16397&r2=16396&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16397&r2=16396&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm.c?r1=16397&r2=16396&diff_format=u