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
|
||||
|
||||
def emit_explicit_self_receiver
|
||||
mutatee = dup_node
|
||||
mutatee.privately = false
|
||||
mutant = dup_node
|
||||
mutant.privately = false
|
||||
# TODO: Fix rubinius to allow this as an attr_accessor
|
||||
mutatee.instance_variable_set(:@vcall_style,false)
|
||||
emit_safe(mutatee)
|
||||
mutant.instance_variable_set(:@vcall_style,false)
|
||||
emit_safe(mutant)
|
||||
end
|
||||
|
||||
# Emit mutations
|
||||
|
|
Loading…
Reference in a new issue