mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
33e0f2bd56
Previously, we were naïvely checking whether a function name was a partial linker declaration call by testing the map of linkers with `linkers[name]`. Since `linkers` was a plain object, it also matched function names like `toString`! This has been refactored as a `Map` to avoid the problem. PR Close #40563