forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(language-service): adjust hybrid visitor to not throw away v…
…alid results (angular#40047) The visitor has a check in it with the goal of preventing the structural directive parent elements from matching when we have already found the candidate we want. However, this code did not check to ensure that it was looking at the correct type of node for this case and was evaluating this logic in places it shouldn't. This special check can be more easily done by simply not traversing the template children if we've already found a candidate on the template node itself. PR Close angular#40047
- Loading branch information
Showing
2 changed files
with
24 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters