[tests] Add code examples from exploration of KT-62239
This commit is contained in:
committed by
Space Team
parent
d7d42134df
commit
73aaa1ce28
+12
@@ -11620,6 +11620,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/enum/enumSubjectTypeCheck.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("EnumWOParenthesesConsistencyNestedScope.kt")
|
||||
public void testEnumWOParenthesesConsistencyNestedScope() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/EnumWOParenthesesConsistencyNestedScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("EnumWOParenthesesConsistencyTopLevel.kt")
|
||||
public void testEnumWOParenthesesConsistencyTopLevel() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/EnumWOParenthesesConsistencyTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumWithAnnotationKeyword.kt")
|
||||
public void testEnumWithAnnotationKeyword() throws Exception {
|
||||
|
||||
+12
@@ -11620,6 +11620,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/enum/enumSubjectTypeCheck.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("EnumWOParenthesesConsistencyNestedScope.kt")
|
||||
public void testEnumWOParenthesesConsistencyNestedScope() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/EnumWOParenthesesConsistencyNestedScope.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("EnumWOParenthesesConsistencyTopLevel.kt")
|
||||
public void testEnumWOParenthesesConsistencyTopLevel() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/enum/EnumWOParenthesesConsistencyTopLevel.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("enumWithAnnotationKeyword.kt")
|
||||
public void testEnumWithAnnotationKeyword() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user