mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +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
165 B
Plaintext
7 lines
165 B
Plaintext
error: Unexpected token Some(Word(function))
|
|
--> $DIR/tests/test262-parser/fail/efcb54b62e8f0e06.js:1:11
|
|
|
|
|
1 | while (1) function foo(){}
|
|
| ^^^^^^^^
|
|
|