Handle updates in nim-stew
This commit is contained in:
parent
e0e51015b7
commit
5b11c41731
|
@ -150,7 +150,7 @@ template enumAllSerializedFields*(T: type, body): untyped =
|
|||
enumAllSerializedFieldsImpl(T, body)
|
||||
|
||||
func isCaseObject*(T: type): bool {.compileTime.} =
|
||||
genExpr:
|
||||
genSimpleExpr:
|
||||
enumAllSerializedFields(T):
|
||||
if fieldCaseDiscriminator != "":
|
||||
return newLit(true)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import
|
||||
typetraits, unittest,
|
||||
stew/shims/macros,
|
||||
stew/shims/macros, stew/objects,
|
||||
../serialization/object_serialization,
|
||||
../serialization/testing/generic_suite
|
||||
|
||||
|
|
Loading…
Reference in New Issue