mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
144 B
Plaintext
7 lines
144 B
Plaintext
error: Expected ',', got '{'
|
|
--> $DIR/tests/test262-parser/fail/d5f84d71afd585da.js:1:17
|
|
|
|
|
1 | ({ set: s(a, b) { } })
|
|
| ^
|
|
|