Expand type aliases in K2 when checking if serializable class' properties
have serializers. #KT-56594 Fixed #KT-56480 Fixed
This commit is contained in:
committed by
Space Team
parent
63e27a9713
commit
5cf1c01273
+12
@@ -151,6 +151,18 @@ public class SerializationFirPsiDiagnosticTestGenerated extends AbstractSerializ
|
||||
public void testTransients() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/Transients.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasesCustomized.kt")
|
||||
public void testTypeAliasesCustomized() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliasesCustomized.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
+12
@@ -149,4 +149,16 @@ public class SerializationPluginDiagnosticTestGenerated extends AbstractSerializ
|
||||
public void testTransients() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/Transients.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliases.kt")
|
||||
public void testTypeAliases() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliases.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("typeAliasesCustomized.kt")
|
||||
public void testTypeAliasesCustomized() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/diagnostics/typeAliasesCustomized.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user