summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-01-04 11:41:00 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2025-02-13 17:37:38 -0800
commit73690b520da4c3ab680ddc477cacaeaeed75d558 (patch)
tree5ea0279287fa18ae07b103107f719fd8417d88ab /include/ruby
parentcefa630bce3aea8317f09fe73c6439f67c42bb69 (diff)
YJIT: Fix crash when yielding keyword arguments
Previously, the code for dropping surplus arguments when yielding into blocks erroneously attempted to drop keyword arguments when there is in fact no surplus arguments. Fix the condition and test that supplying the exact number of keyword arguments as require compiles without fallback.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions