mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1ac68e3f2b
JIT needs to identify which type is `ChangeDetectorRef`. It was doing so by importing `ChangeDetectorRef` and than comparing the types. This creates circular dependency as well as prevents tree shaking. The new solution is to brand the class with `__ChangeDetectorRef__` so that it can be identified without creating circular dependency. PR Close #39621