summary refs log tree commit diff stats
path: root/compiler
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 /compiler
parent8b76edfd6597d367160d246b37acd2e434e0ab8b (diff)
downloadNim-e1828733f1eb187ef5a6ef58aea2704c8513d917.tar.gz
fixes #4519
Diffstat (limited to 'compiler')
-rw-r--r--compiler/sigmatch.nim2
1 files changed, 1 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