JVM_IR: remove KotlinType reference from jvm/ir/IrUtils.kt
This commit is contained in:
@@ -36,7 +36,6 @@ import org.jetbrains.kotlin.ir.types.*
|
||||
import org.jetbrains.kotlin.ir.types.impl.IrSimpleTypeImpl
|
||||
import org.jetbrains.kotlin.ir.types.impl.IrStarProjectionImpl
|
||||
import org.jetbrains.kotlin.ir.types.impl.makeTypeProjection
|
||||
import org.jetbrains.kotlin.ir.types.impl.originalKotlinType
|
||||
import org.jetbrains.kotlin.ir.util.*
|
||||
import org.jetbrains.kotlin.ir.visitors.IrElementTransformerVoid
|
||||
import org.jetbrains.kotlin.load.java.JavaDescriptorVisibilities
|
||||
@@ -63,7 +62,6 @@ fun IrType.eraseTypeParameters() = when (this) {
|
||||
is IrSimpleType ->
|
||||
when (val owner = classifier.owner) {
|
||||
is IrClass -> IrSimpleTypeImpl(
|
||||
originalKotlinType,
|
||||
classifier,
|
||||
hasQuestionMark,
|
||||
arguments.map { it.eraseTypeParameters() },
|
||||
|
||||
Reference in New Issue
Block a user