mirror of
https://github.com/swc-project/swc.git
synced 2024-12-27 23:56:32 +03:00
ba0c7c908c
# swc_ecma_ast - Add PrivateName to Expr # swc_ecma_parser - Fix parsing of private name # swc_ecma_transforms ## Hygiene - It correctly tracks `BindingIdentifer` / `IdentifierReference` - Preserve `IdentiferReference` if it conflicts with a `BindingIdentifier` ## Block scoping - It correctly tracks `BindingIdentifer` / `IdentifierReference` ## Fixer - It removes useless parens. - It removes useless `IdentiferReference`s in comma expressions. ## Classes properties - public prooperty - private property ## Class decorators - implemented
5 lines
38 B
JavaScript
5 lines
38 B
JavaScript
function* a() {
|
|
()=>yield
|
|
;
|
|
}
|