mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 20:51:42 +03:00
13 lines
509 B
Plaintext
13 lines
509 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/d17d3aebb6a3cf43.js:1:32
|
|
|
|
|
1 | "use strict"; for (let {a: b = let};;) {}
|
|
| ^^^
|
|
|
|
error: Destructuring bindings require initializers
|
|
--> $DIR/tests/test262-parser/fail/d17d3aebb6a3cf43.js:1:24
|
|
|
|
|
1 | "use strict"; for (let {a: b = let};;) {}
|
|
| ^^^^^^^^^^^^
|
|
|