[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 {
|
||||
if (arguments == this.arguments) return this
|
||||
return createInterned(
|
||||
classId = classifierId,
|
||||
outerType = outerType,
|
||||
arguments = arguments,
|
||||
isMarkedNullable = isMarkedNullable
|
||||
)
|
||||
return copyInterned(arguments = arguments)
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
Reference in New Issue
Block a user