summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2024-02-02 19:29:50 -0500
committerKevin Newton <kddnewton@gmail.com>2024-02-02 22:25:08 -0500
commit0854d648629c951ee2fe59dbc1e47a3624dae5de (patch)
tree5b574ae0922c28241940cd1e67b6a431d5003ecf /include/ruby
parent68b57ceb4610b424401706777c2d17cd8572a977 (diff)
[PRISM] Selectively dup array in `foo(*splat, &block_arg)` calls
This is essentially an adaptation of aae8223c707 ("Dup splat array in certain cases where there is a block argument") to pass `TestCall#test_call_block_order`. This also makes PRISM emit `getblockparamproxy` in cases like `def foo(&blk) = bar(&blk)` where it used the less efficient `getblockparam` previously. Remove the `popped` parameter from setup_args() because it should always be ignored, and is in fact unused.
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions