[FIR] Introduce & use FirTypeRef.coneType
This commit is contained in:
+1
-1
@@ -418,7 +418,7 @@ class DeclarationsConverter(
|
||||
delegatedSuperTypeRef = buildResolvedTypeRef {
|
||||
type = ConeClassLikeTypeImpl(
|
||||
implicitEnumType.type.lookupTag,
|
||||
arrayOf(selfType.coneTypeUnsafe()),
|
||||
arrayOf(selfType.type),
|
||||
isNullable = false
|
||||
)
|
||||
}
|
||||
|
||||
@@ -490,7 +490,7 @@ class RawFirBuilder(
|
||||
delegatedSuperTypeRef = buildResolvedTypeRef {
|
||||
type = ConeClassLikeTypeImpl(
|
||||
implicitEnumType.type.lookupTag,
|
||||
delegatedSelfTypeRef?.coneTypeUnsafe<ConeKotlinType>()?.let { arrayOf(it) } ?: emptyArray(),
|
||||
delegatedSelfTypeRef?.coneType?.let { arrayOf(it) } ?: emptyArray(),
|
||||
isNullable = false,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user