We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606492b commit 3a8d66bCopy full SHA for 3a8d66b
src/services/services.ts
@@ -1673,8 +1673,7 @@ namespace ts {
1673
}
1674
1675
function getDocumentHighlights(fileName: string, position: number, filesToSearch: ReadonlyArray<string>): DocumentHighlights[] {
1676
- filesToSearch = map(filesToSearch, normalizePath);
1677
- Debug.assert(contains(filesToSearch, fileName));
+ Debug.assert(contains(map(filesToSearch, normalizePath), fileName));
1678
synchronizeHostData();
1679
const sourceFilesToSearch = map(filesToSearch, f => Debug.assertDefined(program.getSourceFile(f)));
1680
const sourceFile = getValidSourceFile(fileName);
0 commit comments