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