[NI] Clear partially resolved calls after resolve of top-level call

#KT-32433 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2019-09-03 17:55:30 +03:00
parent f305475e3f
commit f8449bf15a
12 changed files with 80 additions and 10 deletions
@@ -238,4 +238,10 @@ val ResolvedCallAtom.freshReturnType: UnwrappedType?
get() {
val returnType = candidateDescriptor.returnType ?: return null
return substitutor.safeSubstitute(returnType.unwrap())
}
}
class PartialCallContainer(val result: PartialCallResolutionResult?) {
companion object {
val empty = PartialCallContainer(null)
}
}