mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
159 B
Plaintext
7 lines
159 B
Plaintext
error: Expected '{', got 'v'
|
|
--> $DIR/tests/test262-parser/fail/fc75a023944da475.js:1:23
|
|
|
|
|
1 | x = { set method(val) v = val }
|
|
| ^
|
|
|