Fix subject variable handling in specialized enum codegen
#KT-27161
This commit is contained in:
+25
@@ -21059,6 +21059,31 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161.kt")
|
||||
public void testKt27161() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_int.kt")
|
||||
public void testKt27161_int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_nested.kt")
|
||||
public void testKt27161_nested() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_nested.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_nested2.kt")
|
||||
public void testKt27161_nested2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_nested2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_string.kt")
|
||||
public void testKt27161_string() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rangeCheckOnSubjectVariable.kt")
|
||||
public void testRangeCheckOnSubjectVariable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/rangeCheckOnSubjectVariable.kt");
|
||||
|
||||
+25
@@ -22104,6 +22104,31 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/isCheckOnSubjectVariable.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161.kt")
|
||||
public void testKt27161() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_int.kt")
|
||||
public void testKt27161_int() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_int.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_nested.kt")
|
||||
public void testKt27161_nested() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_nested.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_nested2.kt")
|
||||
public void testKt27161_nested2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_nested2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt27161_string.kt")
|
||||
public void testKt27161_string() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/kt27161_string.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rangeCheckOnSubjectVariable.kt")
|
||||
public void testRangeCheckOnSubjectVariable() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/when/whenSubjectVariable/rangeCheckOnSubjectVariable.kt");
|
||||
|
||||
Reference in New Issue
Block a user