File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -33171,12 +33171,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
33171
33171
const candidates = candidatesOutArray || [];
33172
33172
// reorderCandidates fills up the candidates array directly
33173
33173
reorderCandidates(signatures, candidates, callChainFlags);
33174
- if (!candidates.length) {
33175
- if (reportErrors) {
33176
- diagnostics.add(getDiagnosticForCallNode(node, Diagnostics.Call_target_does_not_contain_any_signatures));
33177
- }
33178
- return resolveErrorCall(node);
33179
- }
33174
+ Debug.assert(candidates.length, "Revert #54442 and add a testcase with whatever triggered this");
33180
33175
33181
33176
const args = getEffectiveCallArguments(node);
33182
33177
Original file line number Diff line number Diff line change 1860
1860
"category" : " Error" ,
1861
1861
"code" : 2345
1862
1862
},
1863
- "Call target does not contain any signatures." : {
1864
- "category" : " Error" ,
1865
- "code" : 2346
1866
- },
1867
1863
"Untyped function calls may not accept type arguments." : {
1868
1864
"category" : " Error" ,
1869
1865
"code" : 2347
You can’t perform that action at this time.
0 commit comments