[Commonizer] Minor: CirType: Use copyInterned over createInterned

^KT-48288
This commit is contained in:
sebastian.sellmair
2021-09-21 13:12:20 +02:00
committed by Space
parent 3b67bcbf4d
commit 104d2b347b
@@ -99,12 +99,7 @@ abstract class CirClassType : CirClassOrTypeAliasType() {
override fun withArguments(arguments: List<CirTypeProjection>): CirClassOrTypeAliasType {
if (arguments == this.arguments) return this
return createInterned(
classId = classifierId,
outerType = outerType,
arguments = arguments,
isMarkedNullable = isMarkedNullable
)
return copyInterned(arguments = arguments)
}
companion object {