IR KT-50258 rewrite enum-based 'when' more carefully
This commit is contained in:
Generated
+18
@@ -35169,12 +35169,30 @@ public class ExternalTestGenerated extends AbstractExternalNativeBlackBoxTest {
|
||||
runTest("compiler/testData/codegen/box/when/enumOptimization/kt15806.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt50258.kt")
|
||||
public void testKt50258() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/enumOptimization/kt50258.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("manyWhensWithinClass.kt")
|
||||
public void testManyWhensWithinClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/enumOptimization/manyWhensWithinClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedWhenInCondition.kt")
|
||||
public void testNestedWhenInCondition() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/enumOptimization/nestedWhenInCondition.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nestedWhenInResult.kt")
|
||||
public void testNestedWhenInResult() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/enumOptimization/nestedWhenInResult.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonConstantEnum.kt")
|
||||
public void testNonConstantEnum() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user