mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
148 B
Plaintext
7 lines
148 B
Plaintext
error: Expected '{', got '+'
|
|
--> $DIR/tests/test262-parser/fail/1976350e287d5156.js:1:19
|
|
|
|
|
1 | class A extends a + b {}
|
|
| ^
|
|
|