[FIR] Forbid multiple labels per statement
^KT-53629: Fixed
This commit is contained in:
committed by
Space Team
parent
cd5b38b958
commit
d27adf6677
+6
@@ -23895,6 +23895,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
public void testLabelsMustBeNamed() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/labelsMustBeNamed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleLabels.kt")
|
||||
public void testMultipleLabels() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/multipleLabels.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -23901,6 +23901,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
public void testLabelsMustBeNamed() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/labelsMustBeNamed.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multipleLabels.kt")
|
||||
public void testMultipleLabels() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/labels/multipleLabels.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user