diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2024-02-02 19:29:50 -0500 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-02-02 22:25:08 -0500 |
| commit | 0854d648629c951ee2fe59dbc1e47a3624dae5de (patch) | |
| tree | 5b574ae0922c28241940cd1e67b6a431d5003ecf /include/ruby/encoding.h | |
| parent | 68b57ceb4610b424401706777c2d17cd8572a977 (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/encoding.h')
0 files changed, 0 insertions, 0 deletions
