[JVM_IR] Fix check for inline class property backing in lowering.

The inline class lowering would attempt to lower a companion object
property backing field.

^KT-47762 Fixed.
This commit is contained in:
Mads Ager
2021-07-19 12:50:08 +02:00
committed by Alexander Udalov
parent 46d2e52543
commit 2877f1cabe
10 changed files with 58 additions and 1 deletions
@@ -13637,6 +13637,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/inlineClasses/kt46554.kt");
}
@TestMetadata("kt47762.kt")
public void testKt47762() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt47762.kt");
}
@TestMetadata("mangledDefaultParameterFunction.kt")
public void testMangledDefaultParameterFunction() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt");
@@ -13043,6 +13043,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt46554.kt");
}
@TestMetadata("kt47762.kt")
public void testKt47762() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt47762.kt");
}
@TestMetadata("mangledDefaultParameterFunction.kt")
public void testMangledDefaultParameterFunction() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt");
@@ -13108,6 +13108,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt46554.kt");
}
@TestMetadata("kt47762.kt")
public void testKt47762() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt47762.kt");
}
@TestMetadata("mangledDefaultParameterFunction.kt")
public void testMangledDefaultParameterFunction() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt");
@@ -7158,6 +7158,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/inlineClasses/kt46554.kt");
}
@TestMetadata("kt47762.kt")
public void testKt47762() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt47762.kt");
}
@TestMetadata("mangledDefaultParameterFunction.kt")
public void testMangledDefaultParameterFunction() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/mangledDefaultParameterFunction.kt");