From b7c085fc5c0b297cfe89d053344041502a57eea5 Mon Sep 17 00:00:00 2001 From: jangko Date: Mon, 5 Jun 2023 09:01:07 +0700 Subject: [PATCH] remove Defect raises from makeFieldReadersTable --- serialization/object_serialization.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serialization/object_serialization.nim b/serialization/object_serialization.nim index ac2c6fe..f03a226 100644 --- a/serialization/object_serialization.nim +++ b/serialization/object_serialization.nim @@ -214,7 +214,7 @@ proc makeFieldReadersTable(RecordType, ReaderType: distinct type, enumAllSerializedFields(RecordType): proc readField(obj: var RecordType, reader: var ReaderType) - {.gcsafe, nimcall, raises: [SerializationError, Defect].} = + {.gcsafe, nimcall, raises: [SerializationError].} = mixin readValue