mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
552fc2374d
swc_ecma_parser: - Improve error message for unexpected tokens.
7 lines
147 B
Plaintext
7 lines
147 B
Plaintext
error: Expected ']', got 'iter'
|
|
--> $DIR/tests/test262-parser/fail/1bde73ba53c309c8.js:1:12
|
|
|
|
|
1 | ({ *[yield iter]() {} })
|
|
| ^^^^
|
|
|