mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +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
265 B
Plaintext
7 lines
265 B
Plaintext
error: 'implements', 'interface', 'let', 'package', 'private', 'protected', 'public', 'static', or 'yield' cannot be used as an identifier in strict mode
|
|
--> $DIR/tests/test262-parser/fail/0d3b0899890c5f8e.js:1:12
|
|
|
|
|
1 | class a {b(enum){}}
|
|
| ^^^^
|
|
|