Use .fullyExpandedType to get serializable annotation from inside typealias
to correctly handle 'global customization via typealias' feature in K2 serialization plugin.
This commit is contained in:
committed by
Space Team
parent
76fc7ce0ad
commit
9586bf74e0
+6
@@ -128,6 +128,12 @@ public class SerializationFirBlackBoxTestGenerated extends AbstractSerialization
|
||||
public void testStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealiasesTest.kt")
|
||||
public void testTypealiasesTest() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/typealiasesTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+6
@@ -126,4 +126,10 @@ public class SerializationIrBoxTestGenerated extends AbstractSerializationIrBoxT
|
||||
public void testStarProjections() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/starProjections.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typealiasesTest.kt")
|
||||
public void testTypealiasesTest() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/typealiasesTest.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user