mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 05:55:46 +02:00
![]() It's possible to repeat parameters in method definitions like so:
```ruby
def foo(_a, _a)
end
```
The compiler needs to know to adjust the local table size to account for
these duplicate names. We'll use the repeated parameter flag to account
for the extra stack space required
|
||
---|---|---|
.. | ||
parse_result | ||
debug.rb | ||
desugar_compiler.rb | ||
ffi.rb | ||
lex_compat.rb | ||
node_ext.rb | ||
node_inspector.rb | ||
pack.rb | ||
parse_result.rb | ||
pattern.rb | ||
prism.gemspec | ||
ripper_compat.rb |