[FIR] Use CandidateApplicability from FE 1.0

This commit is contained in:
Dmitriy Novozhilov
2020-09-08 12:01:48 +03:00
parent cd557ad178
commit 68f3d84e22
54 changed files with 200 additions and 191 deletions
@@ -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