mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 09:03:37 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
144 B
Plaintext
7 lines
144 B
Plaintext
error: Expected '(', got 'yield'
|
|
--> $DIR/tests/test262-parser/fail/16947dc1d11e5e70.js:1:11
|
|
|
|
|
1 | (function*yield(){})
|
|
| ^^^^^
|
|
|