diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-13 16:18:45 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-13 16:18:45 +0000 |
commit | 163f9abe4f2ba66ef433b327e0ceb2edb249e3ae (patch) | |
tree | 6dbc317886a3e1125fa0ebfdfca2eea5c4af54a8 /ChangeLog | |
parent | 2deb6e8ee2db4e0ce02b6e161508633dcc44ded1 (diff) | |
download | ruby-163f9abe4f2ba66ef433b327e0ceb2edb249e3ae.tar.gz |
vm_insnhelper.c: relax arity check
* vm.c (invoke_block_from_c): add splattable argument.
* vm.c (vm_invoke_proc): disallow to splat when directly invoked.
* vm_insnhelper.c (vm_callee_setup_arg_complex, vm_callee_setup_arg):
relax arity check of yielded lambda. [ruby-core:61340] [Bug #9605]
* test/ruby/test_yield.rb (TestRubyYieldGen#emu_bind_params): no
longer raise ArgumentError when splatting to lambda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Fri Mar 14 01:18:24 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vm.c (invoke_block_from_c): add splattable argument. + + * vm.c (vm_invoke_proc): disallow to splat when directly invoked. + + * vm_insnhelper.c (vm_callee_setup_arg_complex, vm_callee_setup_arg): + relax arity check of yielded lambda. [ruby-core:61340] [Bug #9605] + + * test/ruby/test_yield.rb (TestRubyYieldGen#emu_bind_params): no + longer raise ArgumentError when splatting to lambda. + Thu Mar 13 23:51:02 2014 NAKAMURA Usaku <usa@ruby-lang.org> * ext/-test-/win32/dln/libdlntest.c (dlntest_ordinal): no need to |