-
Notifications
You must be signed in to change notification settings - Fork 26k
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
fix(core): avoid Closure Compiler error in restoreView #45445
Conversation
Closure Compiler in advanced optimization mode may end up inlining the `ɵɵrestoreView` into the event listener which can lead to a runtime null pointer exception after the changes in angular#43075. These changes add an annotation to prevent function inlining of the specific instruction.
19b6015
to
93f7f43
Compare
Pushed an extra change with a TODO for myself. |
Presubmit running: http://test/OCL:437362873:BASE:437362993:1648252143897:abd5ce02 |
Presubmit looks good, except for one flake. |
This PR was merged into the repository by commit d36fa11. |
Closure Compiler in advanced optimization mode may end up inlining the `ɵɵrestoreView` into the event listener which can lead to a runtime null pointer exception after the changes in angular#43075. These changes add an annotation to prevent function inlining of the specific instruction. PR Close angular#45445
Closure Compiler in advanced optimization mode may end up inlining the `ɵɵrestoreView` into the event listener which can lead to a runtime null pointer exception after the changes in angular#43075. These changes add an annotation to prevent function inlining of the specific instruction. PR Close angular#45445
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. |
Closure Compiler in advanced optimization mode may end up inlining the
ɵɵrestoreView
into the event listener which can lead to a runtime null pointer exception after the changes in #43075.These changes add an annotation to prevent function inlining of the specific instruction.