From 7c5e255fa33e485010f4b8219189c2938d9ebc39 Mon Sep 17 00:00:00 2001 From: Georgy Bronnikov Date: Fri, 11 Sep 2020 18:19:25 +0300 Subject: [PATCH] JVM_IR: remove .toKotlinType() from IrInlineIntrinsicsSupport --- .../kotlin/backend/jvm/codegen/IrInlineIntrinsicsSupport.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrInlineIntrinsicsSupport.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrInlineIntrinsicsSupport.kt index 97af9b0ef88..4d533132e76 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrInlineIntrinsicsSupport.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrInlineIntrinsicsSupport.kt @@ -12,9 +12,9 @@ import org.jetbrains.kotlin.backend.jvm.lower.FunctionReferenceLowering import org.jetbrains.kotlin.codegen.AsmUtil import org.jetbrains.kotlin.codegen.inline.ReifiedTypeInliner import org.jetbrains.kotlin.ir.declarations.* +import org.jetbrains.kotlin.ir.descriptors.toIrBasedKotlinType import org.jetbrains.kotlin.ir.symbols.IrTypeParameterSymbol import org.jetbrains.kotlin.ir.types.IrType -import org.jetbrains.kotlin.ir.types.toKotlinType import org.jetbrains.kotlin.ir.util.defaultType import org.jetbrains.kotlin.ir.util.render import org.jetbrains.kotlin.resolve.jvm.AsmTypes.* @@ -94,5 +94,5 @@ class IrInlineIntrinsicsSupport( ) } - override fun toKotlinType(type: IrType): KotlinType = type.toKotlinType() + override fun toKotlinType(type: IrType): KotlinType = type.toIrBasedKotlinType() }