[FE 1.0] Fix reporting of non exhaustive when statement for whens with subject
^KT-48653 Fixed
This commit is contained in:
+12
@@ -32111,6 +32111,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/when/kt47922.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48653_after.kt")
|
||||
public void testKt48653_after() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/when/kt48653_after.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt48653_before.kt")
|
||||
public void testKt48653_before() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/when/kt48653_before.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt9929.kt")
|
||||
public void testKt9929() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user