diff options
Diffstat (limited to 'lib/prism/debug.rb')
-rw-r--r-- | lib/prism/debug.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/prism/debug.rb b/lib/prism/debug.rb index 9c6756ff35..9ec3aa9304 100644 --- a/lib/prism/debug.rb +++ b/lib/prism/debug.rb @@ -105,13 +105,6 @@ module Prism *params.keywords.select(&:value).map(&:name) ] - # TODO: When we get a ... parameter, we should be pushing * and & - # onto the local list. We don't do that yet, so we need to add them - # in here. - if params.keyword_rest.is_a?(ForwardingParameterNode) - sorted.push(:*, :&, :"...") - end - # Recurse down the parameter tree to find any destructured # parameters and add them after the other parameters. param_stack = params.requireds.concat(params.posts).grep(RequiredDestructuredParameterNode).reverse |