SM-19: Add singleCandidate tail fallback for member calls with unresolvable receiver type

Agent-Logs-Url: https://github.com/abhigyanpatwari/GitNexus/sessions/469eac38-b0c0-4a26-a2ff-3eb06299730b

Co-authored-by: magyargergo <11230420+magyargergo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-10 14:50:15 +00:00 • committed by GitHub
parent ca89b1cad9
commit bd36f27108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1649,7 +1649,7 @@ const resolveCallTarget = (
) : null) ?? resolveMemberCallByFile(
call.calledName, call.receiverTypeName, currentFile, ctx,
call.argCount, call.callForm, overloadHints, preComputedArgTypes,
);
) ?? singleCandidate(tiered, call.argCount, call.callForm);
}
return resolveModuleAliasedCall(call, currentFile, ctx, widenCache)
?? singleCandidate(tiered, call.argCount, call.callForm);