diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/CoroutineCodegen.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/CoroutineCodegen.kt index 72fcdae73a5..9efd745a1a1 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/CoroutineCodegen.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/CoroutineCodegen.kt @@ -151,6 +151,8 @@ private val BRIDGE_ORIGINS = setOf( JvmLoweredDeclarationOrigin.SUPER_INTERFACE_METHOD_BRIDGE, IrDeclarationOrigin.BRIDGE, IrDeclarationOrigin.BRIDGE_SPECIAL, + IrDeclarationOrigin.ADAPTER_FOR_CALLABLE_REFERENCE, + IrDeclarationOrigin.ADAPTER_FOR_SUSPEND_CONVERSION ) // These functions contain a single `suspend` tail call, the value of which should be returned as is diff --git a/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument_ir.txt b/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument_ir.txt index 706a082c98a..6c9913ff606 100644 --- a/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument_ir.txt +++ b/compiler/testData/codegen/box/coroutines/suspendConversion/onInlineArgument_ir.txt @@ -8,7 +8,6 @@ final class OnInlineArgumentKt$box$1 { field label: int inner (anonymous) class OnInlineArgumentKt$box$1 method (p0: kotlin.jvm.internal.Ref$ObjectRef, p1: kotlin.jvm.functions.Function1, p2: kotlin.coroutines.Continuation): void - public synthetic final static method access$invokeSuspend$suspendConversion0(p0: kotlin.jvm.functions.Function1, p1: java.lang.String, p2: kotlin.coroutines.Continuation): java.lang.Object public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.NotNull p0: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation public final @org.jetbrains.annotations.Nullable method invoke(@org.jetbrains.annotations.Nullable p0: kotlin.coroutines.Continuation): java.lang.Object public synthetic bridge method invoke(p0: java.lang.Object): java.lang.Object