[FIR] Try to infer result type of incomplete when expression
^KT-62069 Fixed
This commit is contained in:
committed by
Space Team
parent
e2f245096c
commit
88f7b085e6
+6
@@ -8542,6 +8542,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/controlStructures/nestedLoopsWithMultipleLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noTypeMismatchWithWhenWithoutElse.kt")
|
||||
public void testNoTypeMismatchWithWhenWithoutElse() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlStructures/noTypeMismatchWithWhenWithoutElse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExhaustiveIfInElvis_after.kt")
|
||||
public void testNonExhaustiveIfInElvis_after() throws Exception {
|
||||
|
||||
+6
@@ -8542,6 +8542,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/controlStructures/nestedLoopsWithMultipleLabels.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("noTypeMismatchWithWhenWithoutElse.kt")
|
||||
public void testNoTypeMismatchWithWhenWithoutElse() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlStructures/noTypeMismatchWithWhenWithoutElse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExhaustiveIfInElvis_after.kt")
|
||||
public void testNonExhaustiveIfInElvis_after() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user