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.
9 lines
340 B
Plaintext
9 lines
340 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/211656c4eaff2d9c.js:1:1]
|
|
1 | a
|
|
2 | => 0
|
|
: ^^
|
|
`----
|