lib/mutant/mutator/node/send.rb in mutant-0.9.13 vs lib/mutant/mutator/node/send.rb in mutant-0.9.14

- old
+ new

@@ -157,10 +157,10 @@ def emit_selector_replacement SELECTOR_REPLACEMENTS.fetch(selector, EMPTY_ARRAY).each(&method(:emit_selector)) end def emit_naked_receiver - emit(receiver) if receiver + emit(receiver) if receiver && !left_op_assignment? end def mutate_arguments emit_type(receiver, selector) remaining_children_with_index.each do |_node, index|