diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/DeepCopyIrTree.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/DeepCopyIrTree.kt index d0ef1f4b2c0..b9d574eb8d6 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/DeepCopyIrTree.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/util/DeepCopyIrTree.kt @@ -27,7 +27,6 @@ import org.jetbrains.kotlin.ir.expressions.impl.* import org.jetbrains.kotlin.ir.symbols.IrClassifierSymbol import org.jetbrains.kotlin.ir.symbols.impl.* import org.jetbrains.kotlin.ir.visitors.IrElementTransformerVoid -import java.util.* inline fun T.deepCopyOld(): T = transform(DeepCopyIrTree(), null).patchDeclarationParents() as T @@ -154,11 +153,6 @@ open class DeepCopyIrTree : IrElementTransformerVoid() { } } - @Deprecated("Replace with remapTypeArguments") - protected fun IrMemberAccessExpression.transformTypeArguments(newCallee: CallableDescriptor) { - // Do nothing: assume that type parameters of the newCallee directly correspond to the original type parameters - } - private fun FunctionDescriptor.getTypeParametersToTransform() = when { this is PropertyAccessorDescriptor -> correspondingProperty.typeParameters