mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
d24ce21c45
`ɵɵNgOnChangesFeature()` would set `ngInherit`, which is a side effect and also not necessary. This was pulled out to module scope so the function itself can be pure. Since it only curries another function, the call is entirely unnecessary. Updated the compiler to only generate a reference to this function, rather than a call to it, and removed the extra curry indirection.
PR Close #35769
(cherry picked from commit 9cf85d2177)
PR Close #35846