mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
4a30fb3436
- Make rls happy. - Some minor parser error improvements. - Add reference files for ecmascript parser errors. - Improve error message of import/export used outside of a module
7 lines
175 B
Plaintext
7 lines
175 B
Plaintext
error: Cannot use a reserved word as a shorthand property
|
|
--> $DIR/tests/test262-parser/fail/78e861dca5c2377d.js:1:14
|
|
|
|
|
1 | function* y({yield}) {}
|
|
| ^^^^^
|
|
|