fix corner case in inline (#5537)

fixes #5536
This commit is contained in:
Alex Lam S.L
2022-07-01 17:10:02 +01:00
committed by GitHub
parent 51deeff72e
commit 3596b4feda
5 changed files with 33 additions and 10 deletions

View File

@@ -3497,7 +3497,7 @@ issue_5314_2: {
A = this;
new function() {
[ {
[console.log(this === A ? "FAIL" : "PASS")]: [].e,
[console.log(this === A ? "FAIL" : "PASS")]: [][0],
} ] = [ 42 ];
}();
}