diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/FirDelegatedPropertyInferenceSession.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/FirDelegatedPropertyInferenceSession.kt index f0ce41784c7..0dc1216b47c 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/FirDelegatedPropertyInferenceSession.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/inference/FirDelegatedPropertyInferenceSession.kt @@ -33,9 +33,6 @@ class FirDelegatedPropertyInferenceSession( val stubToTypeVariableSubstitutor = createToSyntheticTypeVariableSubstitutor() syntheticTypeVariableByTypeVariable.values.forEach { system.registerVariable(it) - val stubType = - stubTypeBySyntheticTypeVariable[it]!! - system.addEqualityConstraint(it.defaultType, stubType, SimpleConstraintSystemConstraintPosition) } partiallyResolvedCalls.forEach { (_, candidate) -> integrateConstraints(