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

@@ -907,7 +907,7 @@ drop_body: {
})([ console.log("baz") ]);
}
expect: {
[ [ , [].e = console.log("foo") ] ] = [ [ console.log("baz") ] ];
[ [ , [][0] = console.log("foo") ] ] = [ [ console.log("baz") ] ];
}
expect_stdout: [
"baz",