[FIR] Fix creating DefinitelyNotNullTypes
Also fix substitutions to them
This commit is contained in:
@@ -138,7 +138,7 @@ private fun coneFlexibleOrSimpleType(
|
||||
type is ConeTypeParameterType || type.isNullable
|
||||
}
|
||||
) {
|
||||
return ConeDefinitelyNotNullType.create(lowerBound)
|
||||
return ConeDefinitelyNotNullType.create(lowerBound) ?: lowerBound
|
||||
}
|
||||
}
|
||||
return lowerBound
|
||||
|
||||
Reference in New Issue
Block a user