[Commonizer] Minor: CirType: Use copyInterned over createInterned
^KT-48288
This commit is contained in:
committed by
Space
parent
3b67bcbf4d
commit
104d2b347b
@@ -99,12 +99,7 @@ abstract class CirClassType : CirClassOrTypeAliasType() {
|
|||||||
|
|
||||||
override fun withArguments(arguments: List<CirTypeProjection>): CirClassOrTypeAliasType {
|
override fun withArguments(arguments: List<CirTypeProjection>): CirClassOrTypeAliasType {
|
||||||
if (arguments == this.arguments) return this
|
if (arguments == this.arguments) return this
|
||||||
return createInterned(
|
return copyInterned(arguments = arguments)
|
||||||
classId = classifierId,
|
|
||||||
outerType = outerType,
|
|
||||||
arguments = arguments,
|
|
||||||
isMarkedNullable = isMarkedNullable
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|||||||
Reference in New Issue
Block a user