Fix copy-paste error in navigateToItemIsEqualTo (#36912)

* Fix copy-paste error in navigateToItemIsEqualTo

It was preventing de-duping of items found in multiple projects.

* Add de-duping test
This commit is contained in:
Andrew Casey
2020-02-20 17:30:50 -08:00
committed by GitHub
parent d0c961e544
commit cf24c4fdc0
2 changed files with 42 additions and 1 deletions

View File

@@ -1892,7 +1892,7 @@ namespace ts.server {
a.fileName === b.fileName &&
a.isCaseSensitive === b.isCaseSensitive &&
a.kind === b.kind &&
a.kindModifiers === b.containerName &&
a.kindModifiers === b.kindModifiers &&
a.matchKind === b.matchKind &&
a.name === b.name &&
a.textSpan.start === b.textSpan.start &&