Collapse single use var definitions

Fix #721
This commit is contained in:
kzc
2016-01-27 02:17:06 -05:00
committed by Mihai Bazon
parent 915f907186
commit f4c2ea37bf
3 changed files with 1194 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ TreeTransformer.prototype = new TreeWalker;
x = this;
descend(x, tw);
} else {
tw.stack[tw.stack.length - 1] = x = this.clone();
tw.stack[tw.stack.length - 1] = x = this;
descend(x, tw);
y = tw.after(x, in_list);
if (y !== undefined) x = y;