Also support intrinsification for SerializersModule.serializer<T>()
method that fallbacks to module.getContextual().
This commit is contained in:
+6
@@ -43,6 +43,12 @@ public class SerializationAsmLikeInstructionsListingTestGenerated extends Abstra
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() throws Exception {
|
||||
|
||||
+6
@@ -57,6 +57,12 @@ public class SerializationFirBlackBoxTestGenerated extends AbstractSerialization
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/inlineClasses.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("intrinsicsBox.kt")
|
||||
public void testIntrinsicsBox() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/boxIr/intrinsicsBox.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("metaSerializable.kt")
|
||||
public void testMetaSerializable() throws Exception {
|
||||
|
||||
+6
@@ -43,6 +43,12 @@ public class SerializationIrAsmLikeInstructionsListingTestGenerated extends Abst
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/Intrinsics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("IntrinsicsAdvanced.kt")
|
||||
public void testIntrinsicsAdvanced() throws Exception {
|
||||
runTest("plugins/kotlinx-serialization/testData/codegen/IntrinsicsAdvanced.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Sealed.kt")
|
||||
public void testSealed() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user