mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
993b77b325
swc_ecma_parser: - Improve error messages
7 lines
208 B
Plaintext
7 lines
208 B
Plaintext
error: Unexpected token `static`. Expected * for generator, private key, identifier or async
|
|
--> $DIR/tests/test262-parser/fail/c939f8663a298a09.js:1:12
|
|
|
|
|
1 | class A {a static(){}}
|
|
| ^^^^^^
|
|
|