Closed erikdesjardins closed 8 years ago
i.e.
if (foo) bar = 5; var bar = 1;
will remove bar entirely, but removing bar = 5; leaves us with the AST in an invalid state (the if statement's consequent is null).
bar
bar = 5;
null
i.e.
will remove
bar
entirely, but removingbar = 5;
leaves us with the AST in an invalid state (the if statement's consequent isnull
).