FIR: Remove default constraint stub type == synthetic variable
This commit is contained in:
committed by
teamcity
parent
3fadf1cb46
commit
0d81e14904
-3
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user