Add regression test for KT-54707
This commit is contained in:
+6
@@ -3413,6 +3413,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/casts/kt50577.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54707.kt")
|
||||
public void testKt54707() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/kt54707.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaToUnitCast.kt")
|
||||
public void testLambdaToUnitCast() throws Exception {
|
||||
|
||||
+6
@@ -3473,6 +3473,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/casts/kt53677.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54707.kt")
|
||||
public void testKt54707() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/kt54707.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaToUnitCast.kt")
|
||||
public void testLambdaToUnitCast() throws Exception {
|
||||
|
||||
+5
@@ -3066,6 +3066,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/casts/kt53677.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt54707.kt")
|
||||
public void testKt54707() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/kt54707.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaToUnitCast.kt")
|
||||
public void testLambdaToUnitCast() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/lambdaToUnitCast.kt");
|
||||
|
||||
Reference in New Issue
Block a user