Sha256: bc026621068e13d8da55b8ed750600e726aeaaa4bffd735e2076e6ed0c23e506
Contents?: true
Size: 501 Bytes
Versions: 20
Compression:
Stored size: 501 Bytes
Contents
# frozen_string_literal: true Mutant::Meta::Example.add :lvar do source 'a = nil; a' mutation 'a = nil; nil' mutation 'a = nil; self' mutation 'a = nil' # TODO: fix invalid AST # These ASTs are not valid and should NOT be emitted # Mutations of lvarasgn need to be special cased to avoid this. mutation s(:begin, s(:lvasgn, :a__mutant__, s(:nil)), s(:lvar, :a)) mutation s(:begin, s(:nil), s(:lvar, :a)) mutation s(:begin, s(:self), s(:lvar, :a)) mutation s(:lvar, :a) end
Version data entries
20 entries across 20 versions & 1 rubygems