summaryrefslogtreecommitdiff
path: root/include/ruby/internal
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2024-01-11 14:50:09 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2024-01-11 15:53:52 -0800
commit371256775f56881fc6a4d41d47afa63e00199c0d (patch)
tree2d63de70d03c14d6e62d80d2f97bf877644bc6ec /include/ruby/internal
parenteb8df2fa7aa7b008bd8dbce765694635a564e8f9 (diff)
Anonymous rest nodes should increase the local table size
When we calculate the local table size, we need to account for anonymous "rest" parameters. Since they don't have a name, they won't be in the "locals" table that Prism provides, but we need to reserve room for them anyway. Fixes: https://github.com/ruby/prism/issues/2154
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions