mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
b2aec35eb6
swc_bundler: - Support emitting iife. (Closes #1184) swc_ecma_parser: - Auto-detect script / module (Closes #1164) - lexer: Error recovery for strict mode and module mode. - More error recovery logic for strict mode violation. - Fix panic on invalid input. (Closes #1170)
7 lines
197 B
Plaintext
7 lines
197 B
Plaintext
error: Destructuring bindings require initializers
|
|
--> $DIR/tests/test262-parser/fail/37cb7557997d4fd6.js:1:24
|
|
|
|
|
1 | "use strict"; for (let [a = let];;) {}
|
|
| ^^^^^^^^^
|
|
|