lib/mutant/mutator/node/send.rb in mutant-0.11.22 vs lib/mutant/mutator/node/send.rb in mutant-0.11.23
- old
+ new
@@ -221,10 +221,10 @@
def emit_argument_propagation
return unless arguments.one?
argument = Mutant::Util.one(arguments)
- return if n_kwargs?(argument) || n_forwarded_args?(argument)
+ return if n_kwargs?(argument) || n_forwarded_args?(argument) || n_forwarded_restarg?(argument)
emit_propagation(argument)
end
def mutate_receiver