Remove a warning triggered by not nil types

This commit is contained in:
Zahary Karadjov 2020-04-23 01:46:22 +03:00
parent 0476902c92
commit 1989a55145
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ proc genCustomSerializationForField(Format, field,
result = newStmtList()
result.add quote do:
type `FieldType` = type default(`RecordType`).`fieldIdent`
type `FieldType` = type declval(`RecordType`).`fieldIdent`
if readBody != nil:
result.add quote do: