diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 21:10:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-20 21:10:24 +0000 |
commit | f4db8aedc87d0ff901206e4c59478554b7b952a6 (patch) | |
tree | 0b6a38f278849be443d5ef538b1e92b4f12ada2c /test/ruby | |
parent | da4d3e846407a538aef893af8478aa13ba7d8cb8 (diff) | |
download | ruby-f4db8aedc87d0ff901206e4c59478554b7b952a6.tar.gz |
* compile.c (setup_args), vm.c (invoke_block_from_c),
vm_insnhelper.c (caller_setup_args): reverted r30241 and r30243
except for the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_lambda.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ruby/test_lambda.rb b/test/ruby/test_lambda.rb index 6cbdd64385..02bb26939d 100644 --- a/test/ruby/test_lambda.rb +++ b/test/ruby/test_lambda.rb @@ -22,9 +22,6 @@ class TestLambdaParameters < Test::Unit::TestCase assert_raise(ArgumentError) { ->(a,b){ }.call(1,2,3) } end -end - -__END__ def test_lambda_as_iterator a = 0 2.times(&->(_){ a += 1 }) |