mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
993b77b325
swc_ecma_parser: - Improve error messages
7 lines
220 B
Plaintext
7 lines
220 B
Plaintext
error: Unexpected token `,`. Expected identifier, string literal, numeric literal or [ for the computed key
|
|
--> $DIR/tests/test262-parser/fail/8373e2a6865dc08c.js:1:15
|
|
|
|
|
1 | class A {a(){},b(){}}
|
|
| ^
|
|
|