mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
13bf89d08c
swc_ecma_parser: - fix parsing of type query (#338) - fix parsing of `in` in a let / const declaration (#337) swc_ecma_transforms: - string literal is computed (#336) - modules: handle imports in lhs of assignment correctly (#335)
7 lines
159 B
Plaintext
7 lines
159 B
Plaintext
error: Unexpected initializer in for in/of loop
|
|
--> $DIR/tests/test262-parser/fail/e3fbcf63d7e43ead.js:1:5
|
|
|
|
|
1 | for(var x=1 in [1,2,3]) 0
|
|
| ^^^^^^^
|
|
|