mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
eebf14fbef
This pr introduces some cargo features. For `swc_common` and `swc_ecma_ast`, it introduces a feature flag `fold`. `Fold` and `Visit` traits exist only if the feature is enabled. For `swc_ecma_parser`, flag called `verify` is added. When disabled, we skip checking of validity of some expressions. e.g. `{foo = bar}` Verification is disabled by default it requires nightly compiler |
||
---|---|---|
.. | ||
jsx | ||
test262-error-references/fail | ||
test262-parser@8900484be1 | ||
typescript | ||
typescript-errors | ||
jsx.rs | ||
test262.rs | ||
typescript.rs |