Skip to content

Commit 69ff9b3

Browse files
PR feedback.
1 parent e26c260 commit 69ff9b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/services/services.ts

+3
Original file line numberDiff line numberDiff line change
@@ -2948,6 +2948,9 @@ module ts {
29482948

29492949
// Find the symbol with the matching entry name.
29502950
let target = program.getCompilerOptions().target;
2951+
// We don't need to perform character checks here because we're only comparing the
2952+
// name against 'entryName' (which is known to be good), not building a new
2953+
// completion entry.
29512954
let symbol = forEach(symbols, s => getCompletionEntryDisplayName(s, target, /*performCharacterChecks:*/ false) === entryName ? s : undefined);
29522955

29532956
if (symbol) {

0 commit comments

Comments
 (0)