From 87a414af2bc30f33b3f99383a264f0f8e900fe00 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 5 Jan 2007 03:43:12 +0000 Subject: * compile.c (iseq_compile_each, set_block_local_tbl) : support NODE_LAMBDA (partly). * sample/test.rb : restore test of NODE_LAMBDA * test/ruby/test_lambda.rb : ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sample') diff --git a/sample/test.rb b/sample/test.rb index 0968fa501..cf2e3a249 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -1101,8 +1101,7 @@ def proc_return1 end test_ok(proc_return1() == 43) def proc_return2 - #! ->{return 42}.call+1 - lambda{return 42}.call+1 + ->{return 42}.call+1 end test_ok(proc_return2() == 43) def proc_return3 -- cgit