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 tyAlias: t = t.lastSon
|
||||||
of tyBool, tyChar, tyEnum, tyObject, tyPointer,
|
of tyBool, tyChar, tyEnum, tyObject, tyPointer,
|
||||||
tyString, tyCString, tyInt..tyInt64, tyFloat..tyFloat128,
|
tyString, tyCString, tyInt..tyInt64, tyFloat..tyFloat128,
|
||||||
tyUInt..tyUInt64:
|
tyUInt..tyUInt64, tyCompositeTypeClass:
|
||||||
return isvar
|
return isvar
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,10 @@ Tool Additions
|
||||||
Compiler Additions
|
Compiler Additions
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
- The C/C++ code generator has been rewritten to use stable
|
||||||
|
name mangling rules. This means that compile times for
|
||||||
|
edit-compile-run cycles are much reduced.
|
||||||
|
|
||||||
|
|
||||||
Language Additions
|
Language Additions
|
||||||
------------------
|
------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue