diff options
| author | Nick Dower <nicholasdower@gmail.com> | 2025-01-02 17:24:55 +0100 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-02-13 17:37:38 -0800 |
| commit | cefa630bce3aea8317f09fe73c6439f67c42bb69 (patch) | |
| tree | b4cb308871ce0829ccc17fb16175ea2783f43d8d /doc/string | |
| parent | 65f2a4beecd3017ced366e3957eef501f2860c1f (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 'doc/string')
0 files changed, 0 insertions, 0 deletions
