summaryrefslogtreecommitdiff
path: root/include/ruby/internal/has
diff options
context:
space:
mode:
authorNick Dower <nicholasdower@gmail.com>2025-01-02 17:24:55 +0100
committerTakashi Kokubun <takashikkbn@gmail.com>2025-02-13 17:37:38 -0800
commitcefa630bce3aea8317f09fe73c6439f67c42bb69 (patch)
treeb4cb308871ce0829ccc17fb16175ea2783f43d8d /include/ruby/internal/has
parent65f2a4beecd3017ced366e3957eef501f2860c1f (diff)
YJIT: Add crashing test for yielding keyword args
Code like the following is crashing for us on 3.4.1: ```ruby def a(&) = yield(x: 0) 1000.times { a { |x:| x } } ``` Crash: ``` ruby: YJIT has panicked. More info to follow... thread '<unnamed>' panicked at ./yjit/src/codegen.rs:8018:13: assertion `left == right` failed left: 0 right: 1 ``` Co-authored-by: Dani Acherkan <dtl.117@gmail.com>
Diffstat (limited to 'include/ruby/internal/has')
0 files changed, 0 insertions, 0 deletions