fix AST_VarDef.may_throw() (#2580)

This commit is contained in:
Alex Lam S.L
2017-12-12 03:30:25 +08:00
committed by GitHub
parent f2ad542679
commit ebfd5c5c74
2 changed files with 21 additions and 0 deletions

View File

@@ -3785,3 +3785,23 @@ issue_2571_2: {
}
expect_stdout: "undefined"
}
may_throw: {
options = {
collapse_vars: true,
}
input: {
function f() {
var a_2 = function() {
var a;
}();
}
}
expect: {
function f() {
var a_2 = function() {
var a;
}();
}
}
}