diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java index 45f7bc7aba9..4ea03d8046b 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java @@ -11216,6 +11216,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java index 99a8d2bcf14..a75dafdc27a 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java @@ -11216,6 +11216,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/compiler/fir/fir-deserialization/src/org/jetbrains/kotlin/fir/deserialization/FirTypeDeserializer.kt b/compiler/fir/fir-deserialization/src/org/jetbrains/kotlin/fir/deserialization/FirTypeDeserializer.kt index 776e318db23..8da4c03f101 100644 --- a/compiler/fir/fir-deserialization/src/org/jetbrains/kotlin/fir/deserialization/FirTypeDeserializer.kt +++ b/compiler/fir/fir-deserialization/src/org/jetbrains/kotlin/fir/deserialization/FirTypeDeserializer.kt @@ -221,7 +221,7 @@ class FirTypeDeserializer( val continuationType = arguments.getOrNull(arguments.lastIndex - 1) as? ConeClassLikeType ?: return null if (!continuationType.isContinuation()) return ConeClassLikeTypeImpl(functionTypeConstructor, arguments, isNullable, attributes) - val suspendReturnType = continuationType.typeArguments.single() as ConeKotlinTypeProjection + val suspendReturnType = continuationType.typeArguments.single() val valueParameters = arguments.dropLast(2) val kind = FunctionTypeKind.SuspendFunction diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java index 2cc5b4954b5..ebdf73418c5 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java @@ -11157,6 +11157,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java index ad68b9db044..9b4e8a4ac1a 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java @@ -11157,6 +11157,12 @@ public class FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java index dee3b08713b..b77d1c0d514 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java @@ -11157,6 +11157,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt b/compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt new file mode 100644 index 00000000000..45e2a2d7140 --- /dev/null +++ b/compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt @@ -0,0 +1,42 @@ +// WITH_STDLIB +// WITH_COROUTINES +// IGNORE_BACKEND_K1: JVM, JS_IR, JS_IR_ES6, WASM, NATIVE +// ^Reports FUN_INTERFACE_WITH_SUSPEND_FUNCTION on K1 JVM (non-IR) and fails in backend on others + +// MODULE: m1 +// FILE: m1.kt +typealias GivenLambda = + suspend GivenDSL.() -> GivenType + +fun interface GivenDSL { + suspend fun given(): ParentGivenType +} + +class GivenDSLHandler( + val lambda: GivenLambda<*, *> = {}, +) { + suspend fun run(dsl: GivenDSL<*>): Any? { + return dsl.lambda() + } +} + +// MODULE: m2(m1) +// FILE: box.kt +import helpers.* +import kotlin.coroutines.* + +fun builder(c: suspend () -> Unit) { + c.startCoroutine(EmptyContinuation) +} + +fun box(): String { + var result = "FAIL" + + builder { + GivenDSLHandler( + lambda = { result = this.given() as String; null }, + ).run { "OK" } + } + + return result +} \ No newline at end of file diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index 4858fbbf316..c015fb6ed42 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -10869,6 +10869,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index ca0a7d1036f..f6b0cf1a09f 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -11157,6 +11157,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java index 419b8310906..98d2b4a8462 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java @@ -11157,6 +11157,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index d8f54f4c320..fcbe862a197 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -8874,6 +8874,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { runTest("compiler/testData/codegen/box/coroutines/dispatchResume.kt"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java index 18bc9f790cc..31e109850fc 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java @@ -7905,6 +7905,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java index 7822aa555a5..7d2fa1394f6 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java @@ -7905,6 +7905,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java index 3a7a330aab9..64f1d061453 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java @@ -7905,6 +7905,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index 183b3f393d9..685867a584e 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -7905,6 +7905,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java index 45cd7d33f5e..24d70b86ce1 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java @@ -8780,6 +8780,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java index 64c0fae09b5..bafbab81e40 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java @@ -8974,6 +8974,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java index 1f704681eff..31b15719196 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java @@ -8586,6 +8586,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java index ac7a6dc9350..a9ea35e991f 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java @@ -8781,6 +8781,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxTestGenerated.java index 124e537b540..87c3837475d 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmCodegenBoxTestGenerated.java @@ -7881,6 +7881,12 @@ public class FirWasmCodegenBoxTestGenerated extends AbstractFirWasmCodegenBoxTes runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java index 3a5a4b34f35..8c2a986af3d 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java @@ -7881,6 +7881,12 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest runTest("compiler/testData/codegen/box/coroutines/delegatedSuspendMember.kt"); } + @Test + @TestMetadata("deserializedSuspendFunctionProperty.kt") + public void testDeserializedSuspendFunctionProperty() throws Exception { + runTest("compiler/testData/codegen/box/coroutines/deserializedSuspendFunctionProperty.kt"); + } + @Test @TestMetadata("dispatchResume.kt") public void testDispatchResume() throws Exception {