K2: reproduce KT-57889

This commit is contained in:
Mikhail Glukhikh
2023-04-17 18:50:41 +02:00
committed by Space Team
parent 34f8851ac1
commit f9a7a7fda2
7 changed files with 50 additions and 0 deletions
@@ -36688,6 +36688,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inferCoroutineTypeInOldVersion.kt");
}
@Test
@TestMetadata("inferenceFromLambdaReturnStatement.kt")
public void testInferenceFromLambdaReturnStatement() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inferenceFromLambdaReturnStatement.kt");
}
@Test
@TestMetadata("inferenceFromLambdaReturnType.kt")
public void testInferenceFromLambdaReturnType() throws Exception {
@@ -36688,6 +36688,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inferCoroutineTypeInOldVersion.kt");
}
@Test
@TestMetadata("inferenceFromLambdaReturnStatement.kt")
public void testInferenceFromLambdaReturnStatement() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inferenceFromLambdaReturnStatement.kt");
}
@Test
@TestMetadata("inferenceFromLambdaReturnType.kt")
public void testInferenceFromLambdaReturnType() throws Exception {