swc/ecmascript/parser/tests/test262-error-references/fail/420d5571366f2df6.js.stderr
강동윤 993b77b325
Improve error messages (#980)
swc_ecma_parser:
 - Improve error messages
2020-08-21 14:57:16 +09:00

7 lines
179 B
Plaintext

error: Unexpected token `-`. Expected yield, an identifier, [ or {
--> $DIR/tests/test262-parser/fail/420d5571366f2df6.js:1:15
|
1 | try {} catch (-x) {}
| ^