refineInvocationCandidatesFromRecord

A function to fine-tune the results of CallResolver.getInvocationCandidatesFromRecord, which retrieves a list of FunctionDeclaration candidates from a RecordDeclaration.

Note: The function itself should NOT set the CallExpression.invokes but rather return a list of possible candidates.

Return

a list of FunctionDeclaration candidates.