FIR: make ConeSimpleKotlinType the only original for definitely not-null

This commit is contained in:
Mikhail Glukhikh
2021-12-13 18:24:45 +03:00
committed by TeamCityServer
parent 434213f416
commit 81ff9b820a
4 changed files with 12 additions and 8 deletions
@@ -256,7 +256,7 @@ class ConeTypeVariableType(
}
data class ConeDefinitelyNotNullType(val original: ConeKotlinType) : ConeSimpleKotlinType(), DefinitelyNotNullTypeMarker {
data class ConeDefinitelyNotNullType(val original: ConeSimpleKotlinType) : ConeSimpleKotlinType(), DefinitelyNotNullTypeMarker {
override val typeArguments: Array<out ConeTypeProjection>
get() = original.typeArguments