swc/ecmascript/parser/tests/test262-error-references/fail/a069c2ecbeb0f43a.js.stderr
Pig Fang 552fc2374d
fix(es/parser): Improve error message (#2304)
swc_ecma_parser:
 - Improve error message for unexpected tokens.
2021-09-26 01:19:08 +09:00

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;
| ^