mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ce8160ecb2
Currently, when generating an import of a selector, the language service might crash if the compiler cannot emit a reference to the new symbol's file from the target component's file. (This might happen because the two are the same file.) We should handle that case by reusing the existing import if possible, or otherwise failing gracefully. PR Close #47938