Add a warning for conflicting entries member
^KT-53153
This commit is contained in:
committed by
Space Team
parent
cf4b415a20
commit
3cdbb4876f
+6
@@ -10319,6 +10319,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/enum/entries"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingPropertyEntriesAndReference.kt")
|
||||
public void testConflictingPropertyEntriesAndReference() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/entries/conflictingPropertyEntriesAndReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("entriesPropertyAsExtensionClash.kt")
|
||||
public void testEntriesPropertyAsExtensionClash() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user