enhance inline (#5105)

This commit is contained in:
Alex Lam S.L
2021-07-27 14:47:01 +01:00
committed by GitHub
parent e219a9a78a
commit 4fe2cac35e
4 changed files with 62 additions and 21 deletions

View File

@@ -1557,9 +1557,9 @@ issue_2665: {
}
expect: {
var a = 1;
!function g() {
(function g() {
a-- && g();
}();
})();
console.log(a);
}
expect_stdout: "-1"
@@ -3379,7 +3379,7 @@ issue_4834: {
}
expect: {
try {
void b.p;
b.p;
} catch (e) {
console.log("PASS");
}