fix corner case in inline (#5291)

fixes #5290
This commit is contained in:
Alex Lam S.L
2022-01-12 12:17:34 +00:00
committed by GitHub
parent f8602aca96
commit ff3c2ed7a2
3 changed files with 39 additions and 2 deletions

View File

@@ -2029,7 +2029,9 @@ issue_5222: {
expect: {
do {
a = void 0,
[ a ] = [];
a = {
p: [ a ] = [],
};
} while (console.log("PASS"));
var a;
}