FIR: Add separate type constructor to stub types
This commit is contained in:
committed by
teamcity
parent
2e01377ce0
commit
196be93d42
+1
-1
@@ -169,7 +169,7 @@ class FirBuilderInferenceSession(
|
||||
|
||||
val bindings = mutableMapOf<TypeConstructorMarker, ConeKotlinType>()
|
||||
for ((variable, nonFixedType) in stubsForPostponedVariables) {
|
||||
bindings[nonFixedType.variable.typeConstructor] = variable.defaultType
|
||||
bindings[nonFixedType.constructor] = variable.defaultType
|
||||
}
|
||||
|
||||
return ctx.typeSubstitutorByTypeConstructor(bindings)
|
||||
|
||||
Reference in New Issue
Block a user