[NI] Complete contradictory candidates inside builder-inference
In this test `kotlin` was resolved to the extension `val Class<T>.kotlin` because it was saved in builder-inference. Usually, it's fine, but not for qualified expressions as they have fallback resolve in case of error
This commit is contained in:
+3
@@ -55,6 +55,9 @@ class CoroutineInferenceSession(
|
||||
|
||||
override fun shouldRunCompletion(candidate: KotlinResolutionCandidate): Boolean {
|
||||
val system = candidate.getSystem() as NewConstraintSystemImpl
|
||||
|
||||
if (system.hasContradiction) return true
|
||||
|
||||
val storage = system.getBuilder().currentStorage()
|
||||
fun ResolvedAtom.hasPostponed(): Boolean {
|
||||
if (this is PostponedResolvedAtom && !analyzed) return true
|
||||
|
||||
Reference in New Issue
Block a user