[FIR] Use CandidateApplicability from FE 1.0
This commit is contained in:
+5
-1
@@ -18,7 +18,11 @@ enum class CandidateApplicability {
|
||||
RESOLVED_LOW_PRIORITY,
|
||||
RESOLVED_NEED_PRESERVE_COMPATIBILITY, // call resolved successfully, but using new features that changes resolve
|
||||
RESOLVED_WITH_ERROR, // call has error, but it is still successful from resolution perspective
|
||||
RESOLVED, // call success or has uncompleted inference or in other words possible successful candidate
|
||||
RESOLVED; // call success or has uncompleted inference or in other words possible successful candidate
|
||||
|
||||
companion object {
|
||||
val SYNTHETIC_RESOLVED: CandidateApplicability = RESOLVED_LOW_PRIORITY
|
||||
}
|
||||
}
|
||||
|
||||
val CandidateApplicability.isSuccess: Boolean
|
||||
|
||||
Reference in New Issue
Block a user