JVM IR: Handle overloaded values functions in MappedEnumWhenLowering
Fixes KT-46579.
This commit is contained in:
committed by
Alexander Udalov
parent
5d30576d28
commit
6aaff9dfb7
+18
@@ -14454,6 +14454,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/enum/javaClassWithNestedEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("javaEnumValues.kt")
|
||||
public void testJavaEnumValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/javaEnumValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt1119.kt")
|
||||
public void testKt1119() throws Exception {
|
||||
@@ -14628,6 +14634,18 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
runTest("compiler/testData/codegen/box/enum/ordinal.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadedEnumValues.kt")
|
||||
public void testOverloadedEnumValues() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/overloadedEnumValues.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overloadedEnumValuesStatic.kt")
|
||||
public void testOverloadedEnumValuesStatic() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/overloadedEnumValuesStatic.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("refToThis.kt")
|
||||
public void testRefToThis() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user