Correctly determine the type of serializable property
when supertype of serializable class is generic and also serializable, and contains the property with type with its generic parameter. Fixes https://github.com/Kotlin/kotlinx.serialization/issues/1264 #KT-43910 Fixed #KT-49660 Fixed
This commit is contained in:
committed by
Space Team
parent
2ea0cdf46d
commit
2a626b27d3
+12
@@ -51,6 +51,18 @@ public class SerializationFirBlackBoxTestGenerated extends AbstractSerialization
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
|
||||
+12
@@ -49,6 +49,18 @@ public class SerializationIrBoxTestGenerated extends AbstractSerializationIrBoxT
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/enumsAreCached.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassMultiple.kt")
|
||||
public void testGenericBaseClassMultiple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassMultiple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("genericBaseClassSimple.kt")
|
||||
public void testGenericBaseClassSimple() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/genericBaseClassSimple.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("generics.kt")
|
||||
public void testGenerics() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user