mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 13:11:31 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
182 B
Plaintext
7 lines
182 B
Plaintext
error: Expected '}', got '<eof>'
|
|
--> $DIR/tests/test262-parser/fail/a069c2ecbeb0f43a.js:1:36
|
|
|
|
|
1 | switch (cond) { case 10: let a = 20;
|
|
| ^
|
|
|