swc/crates/swc_ecma_parser/tests/test262-error-references/fail/8f7c7b7f4d70f975.js.stderr
Donny/강동윤 b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00

9 lines
334 B
Plaintext

x Unexpected token `]`. Expected this, import, async, function, [ for array literal, { for object literal, @ for decorator, function, class, null, true, false, number, bigint, string, regexp, `
| for template literal, (, or an identifier
,-[$DIR/tests/test262-parser/fail/8f7c7b7f4d70f975.js:1:1]
1 |
2 | ]
: ^
`----