[IR] Fix calculation of receiver type for properies in expect/actual context

^KT-62926 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-12-07 13:21:57 +02:00
committed by Space Team
parent 9cef8a2133
commit 7d685522ce
22 changed files with 141 additions and 5 deletions
@@ -27666,6 +27666,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/multiplatform/k2/expectValInInlineClass.kt");
}
@Test
@TestMetadata("extensionPropertiesOverloads.kt")
public void testExtensionPropertiesOverloads() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/k2/extensionPropertiesOverloads.kt");
}
@Test
@TestMetadata("internalOverride.kt")
public void testInternalOverride() throws Exception {
@@ -28296,6 +28296,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/multiplatform/k2/expectValInInlineClass.kt");
}
@Test
@TestMetadata("extensionPropertiesOverloads.kt")
public void testExtensionPropertiesOverloads() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/k2/extensionPropertiesOverloads.kt");
}
@Test
@TestMetadata("internalOverride.kt")
public void testInternalOverride() throws Exception {
@@ -27036,6 +27036,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/multiplatform/k2/expectValInInlineClass.kt");
}
@Test
@TestMetadata("extensionPropertiesOverloads.kt")
public void testExtensionPropertiesOverloads() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/k2/extensionPropertiesOverloads.kt");
}
@Test
@TestMetadata("internalOverride.kt")
public void testInternalOverride() throws Exception {
@@ -27667,6 +27667,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/multiplatform/k2/expectValInInlineClass.kt");
}
@Test
@TestMetadata("extensionPropertiesOverloads.kt")
public void testExtensionPropertiesOverloads() throws Exception {
runTest("compiler/testData/codegen/box/multiplatform/k2/extensionPropertiesOverloads.kt");
}
@Test
@TestMetadata("internalOverride.kt")
public void testInternalOverride() throws Exception {