[FE 1.0] Report DUPLICATE_LABEL_IN_WHEN on proper branches
^KT-50385 Fixed
This commit is contained in:
committed by
teamcity
parent
d9a3dd09ea
commit
eb753eac83
+6
@@ -32929,6 +32929,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/when/ExhaustiveVarOverConditionalInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("exhaustiveWhenWithConstVal.kt")
|
||||
public void testExhaustiveWhenWithConstVal() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/when/exhaustiveWhenWithConstVal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ExhaustiveWithNullabilityCheck.kt")
|
||||
public void testExhaustiveWithNullabilityCheck() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user