From 483ebe80191ee5926bc436e6a9b0485c2e77f2b9 Mon Sep 17 00:00:00 2001 From: Andrew Casey Date: Tue, 28 Jun 2022 13:11:58 -0700 Subject: [PATCH] Fix mis-completed variable name in tracepoint --- src/compiler/program.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index d241a9add2624..6de1792d361f7 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -3118,7 +3118,7 @@ namespace ts { resolvedTypeReferenceDirective: ResolvedTypeReferenceDirective | undefined, reason: FileIncludeReason ): void { - tracing?.push(tracing.Phase.Program, "processTypeReferenceDirective", { directive: typeReferenceDirective, hasResolved: !!resolveModuleNamesReusingOldState, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : undefined }); + tracing?.push(tracing.Phase.Program, "processTypeReferenceDirective", { directive: typeReferenceDirective, hasResolved: !!resolvedTypeReferenceDirective, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : undefined }); processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason); tracing?.pop(); }