Use better variable name for mutant
This commit is contained in:
parent
c168d33adc
commit
49b13bc1d8
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue