mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
20 lines
468 B
Plaintext
20 lines
468 B
Plaintext
|
|
x Expected ';', '}' or <eof>
|
|
,-[$DIR/tests/test262-parser/fail/58707e130fe451a8.js:1:1]
|
|
1 | void { [1, 2]: 3 };
|
|
: ^
|
|
`----
|
|
|
|
Error:
|
|
> This is the expression part of an expression statement
|
|
,-[$DIR/tests/test262-parser/fail/58707e130fe451a8.js:1:1]
|
|
1 | void { [1, 2]: 3 };
|
|
: ^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Expected ']', got ','
|
|
,-[$DIR/tests/test262-parser/fail/58707e130fe451a8.js:1:1]
|
|
1 | void { [1, 2]: 3 };
|
|
: ^
|
|
`----
|