JVM_IR: cast argument of enumValueOf to String in bytecode
Generic functions and implicit casts may return a supertype instead. #KT-45865 Fixed
This commit is contained in:
+5
@@ -11548,6 +11548,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/enum/enumShort.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumValueOf.kt")
|
||||
public void testEnumValueOf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/enumValueOf.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumWithLambdaParameter.kt")
|
||||
public void testEnumWithLambdaParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/enumWithLambdaParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user