diff --git a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/EnumClassLowering.kt b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/EnumClassLowering.kt index f089645181b..7c6a410a61b 100644 --- a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/EnumClassLowering.kt +++ b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/EnumClassLowering.kt @@ -345,9 +345,9 @@ internal fun IrBuilderWithScope.irCreateEnumEntriesIndy( */ val indyCall = irCall(symbols.indyLambdaMetafactoryIntrinsic, type).apply { putTypeArgument(0, type) - putValueArgument(0, irRawFunctionReferefence(context.irBuiltIns.anyType, sam)) + putValueArgument(0, irRawFunctionReference(context.irBuiltIns.anyType, sam)) putValueArgument(1, IrFunctionReferenceImpl(UNDEFINED_OFFSET, UNDEFINED_OFFSET, type, functionThatReturnsEnumArray.symbol, 0, 0)) - putValueArgument(2, irRawFunctionReferefence(context.irBuiltIns.anyType, sam)) + putValueArgument(2, irRawFunctionReference(context.irBuiltIns.anyType, sam)) putValueArgument(3, irVararg(context.irBuiltIns.anyType, emptyList())) putValueArgument(4, irBoolean(false)) } diff --git a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/FunctionReferenceLowering.kt b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/FunctionReferenceLowering.kt index ffb0d7ddcc2..a0412c70f2c 100644 --- a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/FunctionReferenceLowering.kt +++ b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/FunctionReferenceLowering.kt @@ -417,7 +417,7 @@ internal class FunctionReferenceLowering(private val context: JvmBackendContext) } private fun IrBuilderWithScope.irRawFunctionRef(irFun: IrFunction) = - irRawFunctionReferefence(context.irBuiltIns.anyType, irFun.symbol) + irRawFunctionReference(context.irBuiltIns.anyType, irFun.symbol) private fun IrBuilderWithScope.irVarargOfRawFunctionRefs(irFuns: List) = irVararg(context.irBuiltIns.anyType, irFuns.map { irRawFunctionRef(it) }) diff --git a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/TypeOperatorLowering.kt b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/TypeOperatorLowering.kt index add680a7006..a72905d0a7c 100644 --- a/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/TypeOperatorLowering.kt +++ b/compiler/ir/backend.jvm/lower/src/org/jetbrains/kotlin/backend/jvm/lower/TypeOperatorLowering.kt @@ -165,7 +165,7 @@ private class TypeOperatorLowering(private val backendContext: JvmBackendContext private fun JvmIrBuilder.jvmOriginalMethodType(methodSymbol: IrFunctionSymbol) = irCall(backendContext.ir.symbols.jvmOriginalMethodTypeIntrinsic, context.irBuiltIns.anyType).apply { - putValueArgument(0, irRawFunctionReferefence(context.irBuiltIns.anyType, methodSymbol)) + putValueArgument(0, irRawFunctionReference(context.irBuiltIns.anyType, methodSymbol)) } /** @@ -511,7 +511,7 @@ private class TypeOperatorLowering(private val backendContext: JvmBackendContext dynamicCall: IrCall ): IrCall { val samMethodType = jvmOriginalMethodType(samMethodSymbol) - val implFunRawRef = irRawFunctionReferefence(context.irBuiltIns.anyType, implFunSymbol) + val implFunRawRef = irRawFunctionReference(context.irBuiltIns.anyType, implFunSymbol) val instanceMethodType = jvmOriginalMethodType(instanceMethodSymbol) var bootstrapMethod = jdkMetafactoryHandle diff --git a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt index b2b43f5b0a2..2d9a28ed9a8 100644 --- a/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt +++ b/compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/builders/ExpressionHelpers.kt @@ -347,7 +347,7 @@ fun IrBuilderWithScope.irConcat() = fun IrBuilderWithScope.irVararg(elementType: IrType, values: List) = IrVarargImpl(startOffset, endOffset, context.irBuiltIns.arrayClass.typeWith(elementType), elementType, values) -fun IrBuilderWithScope.irRawFunctionReferefence(type: IrType, symbol: IrFunctionSymbol) = +fun IrBuilderWithScope.irRawFunctionReference(type: IrType, symbol: IrFunctionSymbol) = IrRawFunctionReferenceImpl(startOffset, endOffset, type, symbol) fun IrBuilderWithScope.irFunctionReference(type: IrType, symbol: IrFunctionSymbol) =