-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix(es/decorators): decorator private prop init #10396
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
base: main
Are you sure you want to change the base?
Conversation
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Can you add some tests?
Updated tests. |
@logMethodDecoratorRun(6, 15, 27, 37) | ||
@logMethodDecoratorRun(7, 14, 26, 36) | ||
#c() {}; | ||
@logMethodDecoratorRun(6, 15, 37, 31) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change correct?
Is this change related to #7404?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
irrelevant
This is still incorrect. This PR adjusts the order, but at least it prevents the issue where the decorator initializer does not execute when only fields are present.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then why does this PR modify the execution tests copied from Babel?
Description:
Fix use cases:
BREAKING CHANGE:
Related issue (if exists):
#9565