Add restarg to the list of non-standalone nodes
This commit is contained in:
parent
dc0f0d2ff1
commit
19b02494ec
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module Mutant
|
|||
].to_set.freeze
|
||||
|
||||
# Set of node types that are not valid when emitted standalone
|
||||
NOT_STANDALONE = [:splat, :block_pass].to_set.freeze
|
||||
NOT_STANDALONE = [:splat, :restarg, :block_pass].to_set.freeze
|
||||
|
||||
OPERATOR_EXPANSIONS = {
|
||||
:<=> => :spaceship_operator,
|
||||
|
|
Loading…
Reference in a new issue