mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8317042483
When registering an NgModule based on its id, all transitively imported NgModules are also registered. This commit introduces a visited set to avoid traversing into NgModules that are reachable from multiple import paths multiple times. Fixes #39487 PR Close #39514