FIR: Respect nullability when substituting stub types
This commit is contained in:
committed by
teamcity
parent
40a2837b4c
commit
52145e0623
+1
-1
@@ -116,7 +116,7 @@ class FirDelegatedPropertyInferenceSession(
|
||||
return object : AbstractConeSubstitutor(typeContext) {
|
||||
override fun substituteType(type: ConeKotlinType): ConeKotlinType? {
|
||||
if (type !is ConeStubType) return null
|
||||
return bindings[type.constructor]
|
||||
return bindings[type.constructor].updateNullabilityIfNeeded(type)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user