Skip to content

Commit 1f27a71

Browse files
committed
Comment position feedback
1 parent 3307cff commit 1f27a71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1091,8 +1091,8 @@ namespace ts {
10911091
}
10921092
}
10931093
function errorOrSuggestion(isError: boolean, location: Node, message: DiagnosticMessage | DiagnosticMessageChain, arg0?: string | number, arg1?: string | number, arg2?: string | number, arg3?: string | number): void {
1094+
// Pseudo-synthesized input node
10941095
if (location.pos < 0 || location.end < 0) {
1095-
// Psuedo-synthesized input node
10961096
if (!isError) {
10971097
return; // Drop suggestions (we have no span to suggest on)
10981098
}

0 commit comments

Comments
 (0)