mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
603b83291d
swc_ecma_parser: - implement parser for jsx swc_ecma_transforms: - implement react::jsx transform swc_ecma_codegen: - implement code generator for jsx
7 lines
153 B
Plaintext
7 lines
153 B
Plaintext
error: Unexpected token Some(Word(const))
|
|
--> $DIR/tests/test262-parser/fail/cc1519d0d99fc450.js:1:10
|
|
|
|
|
1 | if(true) const a = 1;
|
|
| ^^^^^
|
|
|