[FIR] Save type attributes in substitution
This commit is contained in:
+2
-1
@@ -107,7 +107,8 @@ abstract class AbstractConeSubstitutor : ConeSubstitutor() {
|
|||||||
is ConeClassLikeTypeImpl -> ConeClassLikeTypeImpl(
|
is ConeClassLikeTypeImpl -> ConeClassLikeTypeImpl(
|
||||||
lookupTag,
|
lookupTag,
|
||||||
newArguments as Array<ConeTypeProjection>,
|
newArguments as Array<ConeTypeProjection>,
|
||||||
nullability.isNullable
|
nullability.isNullable,
|
||||||
|
attributes
|
||||||
)
|
)
|
||||||
is ConeClassLikeType -> error("Unknown class-like type to substitute: $this, ${this::class}")
|
is ConeClassLikeType -> error("Unknown class-like type to substitute: $this, ${this::class}")
|
||||||
else -> error("Unknown type to substitute: $this, ${this::class}")
|
else -> error("Unknown type to substitute: $this, ${this::class}")
|
||||||
|
|||||||
Reference in New Issue
Block a user