K1: Fix regression with callable references as last statements in lambda

^KT-55729 Fixed
This commit is contained in:
Denis.Zharkov
2023-01-13 19:52:09 +01:00
committed by Space Team
parent a37e3def14
commit b1bb7dd25f
7 changed files with 151 additions and 2 deletions
@@ -14913,6 +14913,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/inference/callableReferences"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("conversionLastStatementInLambda.kt")
public void testConversionLastStatementInLambda() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/callableReferences/conversionLastStatementInLambda.kt");
}
@Test
@TestMetadata("kt55931.kt")
public void testKt55931() throws Exception {