You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[private-fields] Fix ESTree translator output to match latest ESTree spec
Summary:
As a first step to fix ESTree translator output for private properties, we should unify it with public properties according to the latest [estree spec](https://github.com/estree/estree/blob/master/es2022.md).
Changes:
- Both private and public fields have type `PropertyDefinition`.
- `key` of private fields are now `PrivateIdentifier` instead of `Identifier`
- `computed` field of private fields are always present and always false
Reviewed By: gkz
Differential Revision: D30306603
fbshipit-source-id: 9ea947a69c6578bf2b6fe527f137f44076b412d5
0 commit comments