diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-07-08 10:34:12 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-07-08 10:34:12 +0200 |
commit | b47d9b7b917202ab3b7f1632f8d9462c5f76e869 (patch) | |
tree | 9b4c44ec1846c2ce276948ba37631cbef7e0ba26 /compiler/ccgutils.nim | |
parent | caa7f42e8e75e273ab3f52ada30aed4e06a817d9 (diff) | |
download | Nim-b47d9b7b917202ab3b7f1632f8d9462c5f76e869.tar.gz |
fixes #4371
Diffstat (limited to 'compiler/ccgutils.nim')
-rw-r--r-- | compiler/ccgutils.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgutils.nim b/compiler/ccgutils.nim index 6dfd7b52c..27b432c2c 100644 --- a/compiler/ccgutils.nim +++ b/compiler/ccgutils.nim @@ -93,7 +93,7 @@ proc getUniqueType*(key: PType): PType = # produced instead of ``NI``. result = key of tyEmpty, tyNil, tyExpr, tyStmt, tyPointer, tyString, - tyCString, tyNone, tyBigNum: + tyCString, tyNone, tyBigNum, tyVoid: result = gCanonicalTypes[k] if result == nil: gCanonicalTypes[k] = key |