[FIR] Make originalIfDefinitelyNotNullable more universal
It takes `ConeSimpleKotlinType` but not `ConeKotlinType` as input parameter
This commit is contained in:
committed by
Space Team
parent
ff50d40b32
commit
0935e2b270
@@ -75,7 +75,7 @@ fun ConeKotlinType.lowerBoundIfFlexible(): ConeSimpleKotlinType {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun ConeKotlinType.originalIfDefinitelyNotNullable(): ConeKotlinType {
|
fun ConeSimpleKotlinType.originalIfDefinitelyNotNullable(): ConeSimpleKotlinType {
|
||||||
return when (this) {
|
return when (this) {
|
||||||
is ConeDefinitelyNotNullType -> original
|
is ConeDefinitelyNotNullType -> original
|
||||||
else -> this
|
else -> this
|
||||||
|
|||||||
Reference in New Issue
Block a user