KaCallCandidateInfo
KaCallCandidateInfo represents one of the candidates considered during overload resolution of a call. Unlike KaErrorCallInfo.candidateCalls, retrieving a candidate via KaCallCandidateInfo does not imply that the call is erroneous — you can list candidates on successful code too.
Hierarchy
Members
val candidate: KaCallThe candidate represented as a
KaCall(the legacy base type).val isInBestCandidates: BooleanWhether the candidate is in the final set the compiler considered. Multiple best candidates indicate ambiguity.
KaApplicableCallCandidateInfo
A candidate that could be called at the site — its arguments are complete and assignable, and its type arguments fit all the constraints.
KaInapplicableCallCandidateInfo
A candidate that could not be called at the site.
val diagnostic: KaDiagnosticThe reason for the candidate's missing applicability (e.g. argument type mismatch, missing value for a parameter, type-argument constraint violation).
Replacement mapping
Legacy member | Replacement |
|---|---|
|
|
|
|
|
|