[NI] Fix isSuccessful property for member with LowPriority resolution

The problem was introduced in e40ba73950
This commit is contained in:
Mikhail Zarechenskiy
2020-02-19 17:35:10 +03:00
parent 8ca2aa47f8
commit cbbbf40b90
7 changed files with 73 additions and 1 deletions
@@ -27,7 +27,7 @@ private val INAPPLICABLE_STATUSES = setOf(
)
val ResolutionCandidateApplicability.isSuccess: Boolean
get() = this <= ResolutionCandidateApplicability.RESOLVED_WITH_ERROR
get() = this <= ResolutionCandidateApplicability.RESOLVED_LOW_PRIORITY
val CallableDescriptor.isSynthesized: Boolean
get() = (this is CallableMemberDescriptor && kind == CallableMemberDescriptor.Kind.SYNTHESIZED)