K2 plugins: create companions with same expect/actual as their owners

#KT-59299 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-06-14 12:18:58 +02:00
committed by Space Team
parent 77e5f077f3
commit 8e882ea797
4 changed files with 39 additions and 0 deletions
@@ -93,6 +93,12 @@ public class SerializationFirLightTreeBlackBoxTestGenerated extends AbstractSeri
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActual.kt");
}
@Test
@TestMetadata("expectActualSealedClass.kt")
public void testExpectActualSealedClass() throws Exception {
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActualSealedClass.kt");
}
@Test
@TestMetadata("externalSerialierJava.kt")
public void testExternalSerialierJava() throws Exception {
@@ -91,6 +91,12 @@ public class SerializationIrBoxTestGenerated extends AbstractSerializationIrBoxT
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActual.kt");
}
@Test
@TestMetadata("expectActualSealedClass.kt")
public void testExpectActualSealedClass() throws Exception {
runTest("plugins/kotlinx-serialization/testData/boxIr/expectActualSealedClass.kt");
}
@Test
@TestMetadata("externalSerialierJava.kt")
public void testExternalSerialierJava() throws Exception {