[K/N] Handle Unit? and Nothing? correctly in finally transformation
^KT-52985
This commit is contained in:
+6
@@ -13339,6 +13339,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/finally/objectInFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnNullFromInlined.kt")
|
||||
public void testReturnNullFromInlined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/returnNullFromInlined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("someStuff.kt")
|
||||
public void testSomeStuff() throws Exception {
|
||||
|
||||
+6
@@ -13381,6 +13381,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/finally/objectInFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("returnNullFromInlined.kt")
|
||||
public void testReturnNullFromInlined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/returnNullFromInlined.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("someStuff.kt")
|
||||
public void testSomeStuff() throws Exception {
|
||||
|
||||
+5
@@ -11887,6 +11887,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/finally/objectInFinally.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("returnNullFromInlined.kt")
|
||||
public void testReturnNullFromInlined() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/returnNullFromInlined.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("someStuff.kt")
|
||||
public void testSomeStuff() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/someStuff.kt");
|
||||
|
||||
Reference in New Issue
Block a user