Skip to content

Commit 6b29f36

Browse files
committed
Rename variable
1 parent a49099f commit 6b29f36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27328,7 +27328,7 @@ namespace ts {
2732827328

2732927329
return getCandidateForOverloadFailure(node, candidates, args, !!candidatesOutArray);
2733027330

27331-
function addImplementationSuccessElaboration(failed: Signature, d: Diagnostic) {
27331+
function addImplementationSuccessElaboration(failed: Signature, diagnostic : Diagnostic) {
2733227332
const oldCandidatesForArgumentError = candidatesForArgumentError;
2733327333
const oldCandidateForArgumentArityError = candidateForArgumentArityError;
2733427334
const oldCandidateForTypeArgumentError = candidateForTypeArgumentError;
@@ -27342,7 +27342,7 @@ namespace ts {
2734227342
const candidate = getSignatureFromDeclaration(implDecl as FunctionLikeDeclaration);
2734327343
const isSingleNonGenericCandidate = !candidate.typeParameters;
2734427344
if (!!chooseOverload([candidate], assignableRelation, isSingleNonGenericCandidate)) {
27345-
addRelatedInfo(d, createDiagnosticForNode(implDecl, Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible));
27345+
addRelatedInfo(diagnostic , createDiagnosticForNode(implDecl, Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible));
2734627346
}
2734727347
}
2734827348

0 commit comments

Comments
 (0)