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 78365e70f82..f0d68cf422b 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 @@ -2808,6 +2808,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 94082ab4097..8fd51d87191 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 @@ -2808,6 +2808,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() throws Exception { 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 f575f68a5a6..484aab09e5c 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 @@ -2791,6 +2791,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 26bcd56323b..f84e8279ec7 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 @@ -2791,6 +2791,12 @@ public class FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 3f6df5c6faf..91af18615a2 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 @@ -2791,6 +2791,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() throws Exception { diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirDeclarationsResolveTransformer.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirDeclarationsResolveTransformer.kt index 20fb563a4b1..1de9b01c804 100644 --- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirDeclarationsResolveTransformer.kt +++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/transformers/body/resolve/FirDeclarationsResolveTransformer.kt @@ -394,9 +394,9 @@ open class FirDeclarationsResolveTransformer( if (isImplicitTypedProperty) { property.resolveSetter(mayResolveSetterBody = true, shouldResolveEverything = shouldResolveEverything) } - - dataFlowAnalyzer.exitDelegateExpression(delegateContainer) } + + dataFlowAnalyzer.exitDelegateExpression(delegateContainer) } } diff --git a/compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt b/compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt new file mode 100644 index 00000000000..b8cdfd1f3e9 --- /dev/null +++ b/compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt @@ -0,0 +1,23 @@ +// WITH_STDLIB +// ISSUE: KT-65262 + +interface Consumer + +public fun buildConsumer( + block: (Consumer) -> Unit +): T = "OK" as T + +fun expectConsumerString(x: Consumer) {} + +fun box() = + try { + buildConsumer { x -> + val y by lazy { + expectConsumerString(x) + "OK" + } + + if (y.length != 2) throw RuntimeException("fail 1") + } + } finally { + } diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java index 8e41c29418e..f9309862a2c 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java @@ -2791,6 +2791,12 @@ public class JvmAbiConsistencyTestBoxGenerated extends AbstractJvmAbiConsistency runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() throws Exception { 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 1e91496ca94..43548b44748 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 @@ -2611,6 +2611,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 c7712c6d3aa..f232bf34d4e 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 @@ -2791,6 +2791,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 8b61257d4e6..c357b52b702 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 @@ -2791,6 +2791,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 8bdeee16d41..7378216f6ff 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -2433,6 +2433,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() throws Exception { runTest("compiler/testData/codegen/box/builderInference/posptonedPCLACallInsideStringInterpolation.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 4dc095e301e..bf480b389d2 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 @@ -1891,6 +1891,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 82cd347eaa2..bb99fb3c466 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 @@ -1891,6 +1891,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 f0c1858334a..c32066ee12f 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 @@ -1891,6 +1891,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 489ac1ae0a4..120acfbe767 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 @@ -1891,6 +1891,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 a0a461288c1..48829712ed3 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 @@ -1950,6 +1950,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 81e54c41800..43a776cb960 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 @@ -1996,6 +1996,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 1112f7a6807..d32a01ba22f 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 @@ -1904,6 +1904,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 7ba8cf7a2f7..b7eee5a2ba1 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 @@ -1951,6 +1951,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() throws Exception { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java index beaf7b4c35e..24563f1adf4 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java @@ -1879,6 +1879,12 @@ public class FirWasmJsCodegenBoxTestGenerated extends AbstractFirWasmJsCodegenBo runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() 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 989e3884e35..2ee19680567 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 @@ -1879,6 +1879,12 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCall.kt"); } + @Test + @TestMetadata("pclaRootIsTrySyntheticCallWithDelegate.kt") + public void testPclaRootIsTrySyntheticCallWithDelegate() throws Exception { + runTest("compiler/testData/codegen/box/builderInference/pclaRootIsTrySyntheticCallWithDelegate.kt"); + } + @Test @TestMetadata("posptonedPCLACallInsideStringInterpolation.kt") public void testPosptonedPCLACallInsideStringInterpolation() throws Exception {