ruby/bootstraptest
Nick Dower 37356b713c 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>
2025-01-04 12:53:20 -05:00
..
2024-06-03 16:50:43 -07:00