Use better variable name for mutant

This commit is contained in:
Markus Schirp 2012-08-01 14:38:48 +02:00
parent c168d33adc
commit 49b13bc1d8

View file

@ -42,11 +42,11 @@ module Mutant
end end
def emit_explicit_self_receiver def emit_explicit_self_receiver
mutatee = dup_node mutant = dup_node
mutatee.privately = false mutant.privately = false
# TODO: Fix rubinius to allow this as an attr_accessor # TODO: Fix rubinius to allow this as an attr_accessor
mutatee.instance_variable_set(:@vcall_style,false) mutant.instance_variable_set(:@vcall_style,false)
emit_safe(mutatee) emit_safe(mutant)
end end
# Emit mutations # Emit mutations