diff options
| author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 14:42:17 +0000 |
|---|---|---|
| committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-12 14:42:17 +0000 |
| commit | 526c499e7b1daa0825ccc858c24016b341cf3be4 (patch) | |
| tree | 3e42e54ffbf8df5338ccb1ddb90c8ef4fc3372e4 /test/ruby/allpairs.rb | |
| parent | 9b51dbcd497dc44b7050834ca3d14cfaff2d812d (diff) | |
| download | ruby-526c499e7b1daa0825ccc858c24016b341cf3be4.tar.gz ruby-526c499e7b1daa0825ccc858c24016b341cf3be4.tar.xz ruby-526c499e7b1daa0825ccc858c24016b341cf3be4.zip | |
* 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.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/allpairs.rb')
0 files changed, 0 insertions, 0 deletions
