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