JVM IR: Mark Enum.$VALUES field as synthetic (#2957)

This commit is contained in:
Steven Schäfer
2020-01-08 13:17:58 +01:00
committed by Alexander Udalov
parent 6b5d92a693
commit 7f319c18de
5 changed files with 22 additions and 2 deletions
@@ -902,6 +902,11 @@ public class WriteFlagsTestGenerated extends AbstractWriteFlagsTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/writeFlags/property"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
}
@TestMetadata("enumFields.kt")
public void testEnumFields() throws Exception {
runTest("compiler/testData/writeFlags/property/enumFields.kt");
}
@TestMetadata("compiler/testData/writeFlags/property/classObject")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
@@ -902,6 +902,11 @@ public class IrWriteFlagsTestGenerated extends AbstractIrWriteFlagsTest {
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/writeFlags/property"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@TestMetadata("enumFields.kt")
public void testEnumFields() throws Exception {
runTest("compiler/testData/writeFlags/property/enumFields.kt");
}
@TestMetadata("compiler/testData/writeFlags/property/classObject")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)