[FE 1.0] Always create return value for CallInstruction

This fixes missing `USED_AS_EXPRESSION` recordings
^KT-47527 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-06-30 16:40:55 +03:00
committed by TeamCityServer
parent b2372ff0b9
commit ae608ea67f
50 changed files with 496 additions and 204 deletions
@@ -16364,6 +16364,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/functions/kt47449.kt");
}
@Test
@TestMetadata("kt47527.kt")
public void testKt47527() throws Exception {
runTest("compiler/testData/codegen/box/functions/kt47527.kt");
}
@Test
@TestMetadata("kt785.kt")
public void testKt785() throws Exception {
@@ -458,6 +458,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/declarations/kt45308.kt");
}
@Test
@TestMetadata("kt47527.kt")
public void testKt47527() throws Exception {
runTest("compiler/testData/ir/irText/declarations/kt47527.kt");
}
@Test
@TestMetadata("localClassWithOverrides.kt")
public void testLocalClassWithOverrides() throws Exception {