mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
7 lines
204 B
Plaintext
7 lines
204 B
Plaintext
|
|
x Unexpected token `numeric literal (0, 0)`. Expected yield, an identifier, [ or {
|
|
,-[$DIR/tests/test262-parser/fail/91150a288bbb31b3.js:1:1]
|
|
1 | try {} catch (0) {}
|
|
: ^
|
|
`----
|