Emit random names as symbolx

This commit is contained in:
Markus Schirp 2014-04-12 01:17:27 +00:00
parent a3b558bec0
commit 77263f4a14

View file

@ -42,7 +42,7 @@ module Mutant
def mutate_name
prefix = MAP.fetch(node.type)
Mutator::Util::Symbol.each(name, self) do |name|
emit_name(prefix + name.to_s)
emit_name(:"#{prefix}#{name}")
end
end