summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-12-25 15:26:32 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-12-25 15:26:32 +0100
commite1828733f1eb187ef5a6ef58aea2704c8513d917 (patch)
treedbe7ed8aa03eb9aa539f74053143e92d3b0a7154
parent8b76edfd6597d367160d246b37acd2e434e0ab8b (diff)
downloadNim-e1828733f1eb187ef5a6ef58aea2704c8513d917.tar.gz
fixes #4519
-rw-r--r--compiler/sigmatch.nim2
-rw-r--r--web/news/e029_version_0_16_0.rst4
2 files changed, 5 insertions, 1 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim
index a94579339..7f7572968 100644
--- a/compiler/sigmatch.nim
+++ b/compiler/sigmatch.nim
@@ -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
diff --git a/web/news/e029_version_0_16_0.rst b/web/news/e029_version_0_16_0.rst
index 4f5571256..b68266414 100644
--- a/web/news/e029_version_0_16_0.rst
+++ b/web/news/e029_version_0_16_0.rst
@@ -51,6 +51,10 @@ Tool 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
 ------------------