summaryrefslogtreecommitdiff
path: root/test/ruby/test_variable.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2023-12-08 14:30:39 -0800
committerJeremy Evans <code@jeremyevans.net>2024-01-24 18:25:55 -0800
commit4f77d8d3289ece0e3537d9273a5c745120bff59a (patch)
treeab56abca15cc1ad9a6277c6ff45c05d3dc226f4d /test/ruby/test_variable.rb
parent0f90a24a816bec438edb272fb83f334484dfc285 (diff)
Do not use ruby2_keywords for ... argument forwarding
This allows ... argument forwarding to benefit from Allocationless Anonymous Splat Forwarding, allowing the `f` call below to not allocate an array or a hash. ```ruby a = [1] kw = {b: 2} def c(a, b:) end def f(...) c(...) end f(*a, **kw) ``` This temporarily skips prism locals tests until prism is changed to use * and ** for ..., instead of using ruby2_keywords. Ignore failures in rbs bundled gems tests, since they fail due to this change.
Diffstat (limited to 'test/ruby/test_variable.rb')
0 files changed, 0 insertions, 0 deletions