[NI] Refactoring: rename method

This commit is contained in:
Mikhail Zarechenskiy
2018-03-20 12:20:57 +03:00
parent bf92280f52
commit bb4fb669a0
4 changed files with 5 additions and 5 deletions
@@ -86,7 +86,7 @@ class DelegatedPropertyInferenceSession(
}
object InferenceSessionForExistingCandidates : InferenceSession {
override fun shouldFixTypeVariables(candidate: KotlinResolutionCandidate): Boolean {
override fun shouldRunCompletion(candidate: KotlinResolutionCandidate): Boolean {
return !ErrorUtils.isError(candidate.resolvedCall.candidateDescriptor)
}
@@ -30,7 +30,7 @@ abstract class ManyCandidatesResolver<D : CallableDescriptor>(
abstract fun prepareForCompletion(commonSystem: NewConstraintSystem, resolvedCallsInfo: List<PSIPartialCallInfo>)
override fun shouldFixTypeVariables(candidate: KotlinResolutionCandidate): Boolean {
override fun shouldRunCompletion(candidate: KotlinResolutionCandidate): Boolean {
return false
}