[FE] Fix: do not report ambiguous label if label map is empty
This commit is contained in:
committed by
teamcity
parent
8905586cbb
commit
ea33da3a8d
+6
@@ -10654,6 +10654,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/insideDeclaration.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labelFromFunctionName.kt")
|
||||
public void testLabelFromFunctionName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/labelFromFunctionName.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("labelsFromClassNameForbidden.kt")
|
||||
public void testLabelsFromClassNameForbidden() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user