JVM IR: fix detection of enum entries in the same module

Use the new `IrClass.hasEnumEntries` flag added in the previous commit.

 #KT-61208 Fixed
This commit is contained in:
Alexander Udalov
2023-08-15 22:49:57 +02:00
committed by Space Team
parent c33c918bd4
commit 6219f7fc0d
21 changed files with 133 additions and 3 deletions
@@ -2254,6 +2254,12 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/enum/enumEntriesMultiMapping.kt");
}
@Test
@TestMetadata("enumEntriesNoMapping.kt")
public void testEnumEntriesNoMapping() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/enum/enumEntriesNoMapping.kt");
}
@Test
@TestMetadata("kt18731.kt")
public void testKt18731() throws Exception {