[FIR] Infer labeled type for lambda in return in catch ^KT-51009 Fixed

This commit is contained in:
Ivan Kochurkin
2022-01-28 22:56:38 +03:00
committed by teamcity
parent d82dff0e75
commit 30871fc08f
7 changed files with 51 additions and 1 deletions
@@ -14809,6 +14809,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/completion/flexibleType.kt");
}
@Test
@TestMetadata("inferLabeledElementTypeForLambdaInReturnInCatch.kt")
public void testInferLabeledElementTypeForLambdaInReturnInCatch() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/completion/inferLabeledElementTypeForLambdaInReturnInCatch.kt");
}
@Test
@TestMetadata("intersectionType.kt")
public void testIntersectionType() throws Exception {