diff --git a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/ConeIntegerLiteralTypeImpl.kt b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/ConeIntegerLiteralTypeImpl.kt index 83f7ccf52a7..69e2c8917e2 100644 --- a/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/ConeIntegerLiteralTypeImpl.kt +++ b/compiler/fir/tree/src/org/jetbrains/kotlin/fir/types/ConeIntegerLiteralTypeImpl.kt @@ -134,12 +134,10 @@ fun ConeKotlinType.approximateIntegerLiteralType(expectedType: ConeKotlinType? = } private object ConeIntegerLiteralTypeExtensions { - private val COMPARABLE_TAG = ConeClassLikeLookupTagImpl(StandardClassIds.Comparable) - fun createSupertypeList(type: ConeIntegerLiteralType): List { return listOf( createClassLikeType(StandardClassIds.Number), - ConeClassLikeTypeImpl(COMPARABLE_TAG, arrayOf(ConeKotlinTypeProjectionIn(type)), false) + ConeClassLikeTypeImpl(ConeClassLikeLookupTagImpl(StandardClassIds.Comparable), arrayOf(ConeKotlinTypeProjectionIn(type)), false) ) }