PSI2IR KT-51036 fix lambda return value generation

This commit is contained in:
Dmitry Petrov
2022-01-31 12:51:53 +03:00
committed by Space
parent 02d731255c
commit beb4cf3d99
19 changed files with 222 additions and 9 deletions
@@ -44803,6 +44803,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/unit/kt4265.kt");
}
@Test
@TestMetadata("kt51036.kt")
public void testKt51036() throws Exception {
runTest("compiler/testData/codegen/box/unit/kt51036.kt");
}
@Test
@TestMetadata("nullableUnit.kt")
public void testNullableUnit() throws Exception {
@@ -1676,6 +1676,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/expressions/kt50028.kt");
}
@Test
@TestMetadata("kt51036.kt")
public void testKt51036() throws Exception {
runTest("compiler/testData/ir/irText/expressions/kt51036.kt");
}
@Test
@TestMetadata("lambdaInCAO.kt")
public void testLambdaInCAO() throws Exception {