-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Two @nocollapse related fixes for Ivy #28050
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
Conversation
ngtsc has a hack to add @nocollapse jsdoc annotations to generated static fields. This hack is currently broken (likely due to a TypeScript change in the way writeFile() works). This commit fixes the hack and introduces an ngtsc_spec test to ensure it does not regress again.
You can preview f67b62c at https://pr28050-f67b62c.ngbuilds.io/. |
__NG_ELEMENT_ID__ static fields are a part of how the Ivy node injector works. In order to survive closure minification correctly, they need to be annotated with @nocollapse.
You can preview ab79102 at https://pr28050-ab79102.ngbuilds.io/. |
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.
LGTM!
…lds (#28050) __NG_ELEMENT_ID__ static fields are a part of how the Ivy node injector works. In order to survive closure minification correctly, they need to be annotated with @nocollapse. PR Close #28050
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.