diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-12-25 15:26:32 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-12-25 15:26:32 +0100 |
commit | e1828733f1eb187ef5a6ef58aea2704c8513d917 (patch) | |
tree | dbe7ed8aa03eb9aa539f74053143e92d3b0a7154 /compiler | |
parent | 8b76edfd6597d367160d246b37acd2e434e0ab8b (diff) | |
download | Nim-e1828733f1eb187ef5a6ef58aea2704c8513d917.tar.gz |
fixes #4519
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/sigmatch.nim | 2 |
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 |