Port literal nil mutator to parser
This commit is contained in:
parent
d6481615af
commit
40259170e7
2 changed files with 6 additions and 6 deletions
|
@ -16,7 +16,7 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def dispatch
|
||||
emit('Object.new'.to_ast)
|
||||
emit(s(:send, s(:const, s(:cbase), :Object), :new))
|
||||
end
|
||||
|
||||
end # Nil
|
||||
|
|
|
@ -20,9 +20,9 @@ module Mutant
|
|||
# @api private
|
||||
#
|
||||
def dispatch
|
||||
# noop
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end # # Noop
|
||||
end # Node
|
||||
end # Mutator
|
||||
end # Mutant
|
||||
|
|
Loading…
Reference in a new issue