summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-11-06 10:27:59 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-11-06 10:27:59 +0000
commit08c060ce9bf0aa15609eb5296e245f92b7e15532 (patch)
tree2793f32bf0c30b0d70dad35298fcafc8dbe64b22 /test/ruby/test_lambda.rb
parent50aa495b3f052d870af2407345d3531fdfc26ac6 (diff)
downloadruby-08c060ce9bf0aa15609eb5296e245f92b7e15532.tar.gz
ruby-08c060ce9bf0aa15609eb5296e245f92b7e15532.tar.xz
ruby-08c060ce9bf0aa15609eb5296e245f92b7e15532.zip
* eval.c (svalue_to_avalue): need to splat but no error.
* eval.c: new macros - YIELD_CALL, YIELD_VALUES. * eval.c (rb_yield_values): specify YIELD_VALUES. * eval.c (rb_yield_0): use new macros. * eval.c (proc_invoke): slightly modified to separate YIELD_CALL and YIELD_VALUES from YIELD_ARY_ARGS. * object.c (Init_Object): add nil.to_splat => []. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions