diff options
author | Alan Wu <[email protected]> | 2024-01-18 19:26:03 -0500 |
---|---|---|
committer | Alan Wu <[email protected]> | 2024-01-18 20:22:40 -0500 |
commit | bbd249e351af7e4929b518a5de73a832b5617273 (patch) | |
tree | 26a9972c8182e06a8940ad1c592185ddc2a1e226 /lib/ruby_vm/rjit/insn_compiler.rb | |
parent | 61da90c1b8d5c9a62d429ef66f000117eca675b3 (diff) |
YJIT: Properly reject keyword splat with `yield`
We don't have support for keyword splat anywhere, but we tried to
compile these anyways in case of `invokeblock`. This led to bad things
happening such as passing the wrong value and passing a hash into
rb_yjit_array_len(), which raised in the middle of compilation.
[Bug #20192]
Diffstat (limited to 'lib/ruby_vm/rjit/insn_compiler.rb')
0 files changed, 0 insertions, 0 deletions