pop();
return true;
}
+ if (node instanceof AST_LabeledStatement) {
+ push();
+ node.body.walk(tw);
+ pop();
+ return true;
+ }
if (node instanceof AST_Scope) {
if (node instanceof AST_Lambda) {
references[node.variables.get("arguments").id] = false;
}
expect_stdout: "function"
}
+
+issue_4115: {
+ options = {
+ merge_vars: true,
+ toplevel: true,
+ }
+ input: {
+ L: {
+ var o = typeof console;
+ for (var k in o)
+ break L;
+ var a = 0;
+ }
+ console.log(typeof a);
+ }
+ expect: {
+ L: {
+ var o = typeof console;
+ for (var k in o)
+ break L;
+ var a = 0;
+ }
+ console.log(typeof a);
+ }
+ expect_stdout: "undefined"
+}