summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-27 13:35:46 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-27 13:35:46 +0000
commitc23f1f56c66c6121597b315b8fe05198d1f90c28 (patch)
tree44a54ae17c202fe7210538fd624902778b2ada91 /test/ruby/test_lambda.rb
parent7de38dd3f5e7ce6c035e62a292fa8a8adfb774f5 (diff)
downloadruby-c23f1f56c66c6121597b315b8fe05198d1f90c28.tar.gz
ruby-c23f1f56c66c6121597b315b8fe05198d1f90c28.tar.xz
ruby-c23f1f56c66c6121597b315b8fe05198d1f90c28.zip
* vm_insnhelper.c (vm_yield_setup_args): supports optional parameters.
Fixed [ruby-core:19503]. * vm_insnhelper.c (vm_yield_setup_block_args): a new function. extracted from vm_yield_setup_args. * vm_insnhelper.c (vm_yield_setup_block_args_complex): ditto. * test/ruby/test_proc.rb: added tests for arguments on a Proc from Kernel#proc called. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions