Remove a warning triggered by not nil types
This commit is contained in:
parent
0476902c92
commit
1989a55145
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue