fix corner case with spread syntax (#5572)

This commit is contained in:
Alex Lam S.L
2022-07-22 20:07:04 +01:00
committed by GitHub
parent d67daa8314
commit 56e9454f1f
3 changed files with 80 additions and 44 deletions

View File

@@ -1,3 +1,12 @@
decimal: {
input: {
console.log({... 0.42});
}
expect_exact: "console.log({....42});"
expect_stdout: "{}"
node_version: ">=8.3.0"
}
collapse_vars_1: {
options = {
collapse_vars: true,