[FE 1.0] Always create return value for CallInstruction
This fixes missing `USED_AS_EXPRESSION` recordings ^KT-47527 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
b2372ff0b9
commit
ae608ea67f
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+5
@@ -11869,6 +11869,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/functions/kt47449.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47527.kt")
|
||||
public void testKt47527() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt47527.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt785.kt")
|
||||
public void testKt785() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt785.kt");
|
||||
|
||||
Generated
+5
@@ -11275,6 +11275,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/functions/kt47449.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47527.kt")
|
||||
public void testKt47527() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt47527.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt785.kt")
|
||||
public void testKt785() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt785.kt");
|
||||
|
||||
Generated
+5
@@ -11275,6 +11275,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/functions/kt47449.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47527.kt")
|
||||
public void testKt47527() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt47527.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt785.kt")
|
||||
public void testKt785() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt785.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+5
@@ -5765,6 +5765,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/functions/kt47449.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt47527.kt")
|
||||
public void testKt47527() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt47527.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt785.kt")
|
||||
public void testKt785() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/functions/kt785.kt");
|
||||
|
||||
Reference in New Issue
Block a user