summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authornagachika <nagachika@ruby-lang.org>2023-07-23 12:01:21 +0900
committernagachika <nagachika@ruby-lang.org>2023-07-23 12:01:21 +0900
commit3354aacb73c65420a10cb41c0696e62dd1ba279b (patch)
tree76706dad1d2a73133508f451524e209c3e42a747 /test/ruby/test_lambda.rb
parentb97a744a3778abe52fffb051e1460a0a6f7c4a6d (diff)
merge revision(s) 3874381c4483ba7794ac2abf157e265546f9bfa7: [Backport #19759]
Fix autosplat conditions to handle ruby2_keywords case Autosplat should not occur if there are two arguments but second argument is an array containing a ruby2_keywords splat. Only autosplat if a single argument to be yielded to the block, and there is no splatted flagged keyword hash passed. Fixes [Bug #19759] --- test/ruby/test_proc.rb | 26 ++++++++++++++++++++++++++ vm_args.c | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-)
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions