Skip to content

Commit 2f86a83

Browse files
authored
Fix mis-completed variable name in tracepoint (microsoft#49715)
1 parent 7e91485 commit 2f86a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3118,7 +3118,7 @@ namespace ts {
31183118
resolvedTypeReferenceDirective: ResolvedTypeReferenceDirective | undefined,
31193119
reason: FileIncludeReason
31203120
): void {
3121-
tracing?.push(tracing.Phase.Program, "processTypeReferenceDirective", { directive: typeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : undefined });
3121+
tracing?.push(tracing.Phase.Program, "processTypeReferenceDirective", { directive: typeReferenceDirective, hasResolved: !!resolvedTypeReferenceDirective, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : undefined });
31223122
processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason);
31233123
tracing?.pop();
31243124
}

0 commit comments

Comments
 (0)