summaryrefslogtreecommitdiff
path: root/test/ruby/test_whileuntil.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2024-02-15 20:29:06 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2024-02-16 15:27:49 -0500
commitc4e30d28659fbe0dbe813b21ba8bdbd96c812a66 (patch)
tree3368037ebcf6384aa790e0e8f47c8cd1930416da /test/ruby/test_whileuntil.rb
parent777c4da0bf41de76a22c4cc67fc93e1404b2930c (diff)
YJIT: Support `**nil`
This adds YJIT support for VM_CALL_KW_SPLAT with nil, specifically for when we already know from the context that it's done with a nil. This is enough to support forwarding with `...` when there no keyword arguments are present. Amend the kw_rest support to propagate the type of the parameter to help with this. Test interactions with splat, since the splat array sits lower on the stack when a kw_splat argument is present.
Diffstat (limited to 'test/ruby/test_whileuntil.rb')
0 files changed, 0 insertions, 0 deletions