mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
parent
236fe914af
commit
6031ab18c7
9 changed files with 103 additions and 167 deletions
|
@ -440,10 +440,6 @@ module YARP
|
|||
# arguments. We get rid of that here.
|
||||
names = names.grep_v(Integer)
|
||||
|
||||
# TODO: We don't support numbered local variables yet, so we get rid
|
||||
# of those here.
|
||||
names = names.grep_v(/^_\d$/)
|
||||
|
||||
# For some reason, CRuby occasionally pushes this special local
|
||||
# variable when there are splat arguments. We get rid of that here.
|
||||
names = names.grep_v(:"#arg_rest")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue