JVM IR: Avoid unnecessary CHECKCASTs in enum classes
This commit is contained in:
committed by
max-kammerer
parent
cb3a4727cf
commit
b6b8dd1eab
@@ -1855,6 +1855,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/bytecodeText/enum"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("enumCheckcasts.kt")
|
||||
public void testEnumCheckcasts() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/enum/enumCheckcasts.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt18731.kt")
|
||||
public void testKt18731() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/enum/kt18731.kt");
|
||||
|
||||
Reference in New Issue
Block a user