-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ES private field check #2311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I know the maintainers are busy. |
This is already implemented by #2079, but not published yet. |
good. |
It's almost resolved, so I'll close the issue now. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
ES private field check failed.
Input code
Config
default
Expected behavior
When lhs of "in" operator is a private identifier.
If there is a corresponding private field in the class definition, there is no error and it should be transpiled as it is.
If the corresponding private field does not exist in the class definition, an error should be raised that the corresponding private field in the class definition must exist.
Version
The version of @swc/core: 1.2.91
The text was updated successfully, but these errors were encountered: