fix corner cases in rename & varify (#4955)

fixes #4954
This commit is contained in:
Alex Lam S.L
2021-05-23 23:54:48 +01:00
committed by GitHub
parent 5d4e6e3bdc
commit 8b0c836515
5 changed files with 118 additions and 12 deletions

View File

@@ -3080,11 +3080,9 @@ issue_4235: {
})();
}
expect: {
(function() {
f = console.log(f),
void 0;
var f;
})();
void function() {
var f = console.log(f);
}();
}
expect_stdout: "undefined"
}