fixes #4519
This commit is contained in:
parent
8b76edfd65
commit
e1828733f1
2 changed files with 5 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ proc sumGeneric(t: PType): int =
|
|||
of tyAlias: t = t.lastSon
|
||||
of tyBool, tyChar, tyEnum, tyObject, tyPointer,
|
||||
tyString, tyCString, tyInt..tyInt64, tyFloat..tyFloat128,
|
||||
tyUInt..tyUInt64:
|
||||
tyUInt..tyUInt64, tyCompositeTypeClass:
|
||||
return isvar
|
||||
else:
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue