[IR] Fix saving function calls during inlining const properties in PropertyAccessorInlineLowering (#3971)

This commit is contained in:
LepilkinaElena
2020-12-10 12:24:23 +03:00
committed by GitHub
parent dccfb33bcc
commit c8c83c04c0
18 changed files with 121 additions and 44 deletions
@@ -17735,6 +17735,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
public void testAnotherFile() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/anotherFile.kt");
}
@TestMetadata("constPropertyAccessor.kt")
public void testConstPropertyAccessor() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/constPropertyAccessor.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/properties/lateinit")
@@ -17735,6 +17735,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testAnotherFile() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/anotherFile.kt");
}
@TestMetadata("constPropertyAccessor.kt")
public void testConstPropertyAccessor() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/constPropertyAccessor.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/properties/lateinit")
@@ -17825,6 +17825,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testAnotherFile() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/anotherFile.kt");
}
@TestMetadata("constPropertyAccessor.kt")
public void testConstPropertyAccessor() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/constPropertyAccessor.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/properties/lateinit")
@@ -11216,6 +11216,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testAnotherFile() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/anotherFile.kt");
}
@TestMetadata("constPropertyAccessor.kt")
public void testConstPropertyAccessor() throws Exception {
runTest("compiler/testData/codegen/box/properties/const/constPropertyAccessor.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/properties/lateinit")