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