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 {
3317133171 const candidates = candidatesOutArray || [];
3317233172 // reorderCandidates fills up the candidates array directly
3317333173 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");
3318033175
3318133176 const args = getEffectiveCallArguments(node);
3318233177
Original file line number Diff line number Diff line change 18601860 "category" : " Error" ,
18611861 "code" : 2345
18621862 },
1863- "Call target does not contain any signatures." : {
1864- "category" : " Error" ,
1865- "code" : 2346
1866- },
18671863 "Untyped function calls may not accept type arguments." : {
18681864 "category" : " Error" ,
18691865 "code" : 2347
You can’t perform that action at this time.
0 commit comments