summaryrefslogtreecommitdiff
path: root/include/ruby/internal/static_assert.h
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-07-10 10:06:23 -0700
committerGitHub <noreply@github.com>2023-07-10 10:06:23 -0700
commit3874381c4483ba7794ac2abf157e265546f9bfa7 (patch)
treed02850a4e81c80e44137c6cfc8c992a2538eb61d /include/ruby/internal/static_assert.h
parent53c560156542915938ebebeac3e12352c04feb24 (diff)
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]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8039 Merged-By: jeremyevans <code@jeremyevans.net>
Diffstat (limited to 'include/ruby/internal/static_assert.h')
0 files changed, 0 insertions, 0 deletions