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

@@ -648,7 +648,7 @@ drop_new_function: {
}
expect: {
void ([ ... {
[console.log("PASS")]: [].e,
[console.log("PASS")]: [][0],
}] = []);
}
expect_stdout: "PASS"