Fix broken dead-code-removal case.

The "test" local variable was removed with path work. The last dead-code-removal check used this var. By reintroducing the local var, the unknown variable reference is fixed.
This commit is contained in:
James Railton 2015-04-12 18:49:33 -07:00
parent 7e1a4be085
commit 0c2bf2f5a2

View File

@ -34,6 +34,7 @@ export var IfStatement = {
exit(node, parent, scope) {
var consequent = node.consequent;
var alternate = node.alternate;
var test = node.test;
var evaluateTest = this.get("test").evaluateTruthy();