improve handling of non-trivial assignment values (#5227)

This commit is contained in:
Alex Lam S.L
2021-12-22 23:55:06 +00:00
committed by GitHub
parent 343bf6d7a5
commit 7b2eb4b5ff
13 changed files with 423 additions and 217 deletions

View File

@@ -282,7 +282,7 @@ issue_4736: {
(function() {
(function() {
0,
console.log(1073741824);
console.log(1 << 30);
})();
})();
}
@@ -336,7 +336,7 @@ issue_4859: {
}
expect: {
(function f(a) {
console.log(Infinity);
console.log(2 + 1 / 0);
return f;
})();
}