diff options
Diffstat (limited to 'compiler/ccgutils.nim')
-rw-r--r-- | compiler/ccgutils.nim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/ccgutils.nim b/compiler/ccgutils.nim index 7396c0bf8..1e1fcd6fb 100644 --- a/compiler/ccgutils.nim +++ b/compiler/ccgutils.nim @@ -75,8 +75,7 @@ proc getUniqueType*(key: PType): PType = if key == nil: return var k = key.kind case k - of tyBool, tyChar, - tyInt..tyUInt64: + of tyBool, tyChar, tyInt..tyUInt64: # no canonicalization for integral types, so that e.g. ``pid_t`` is # produced instead of ``NI``. result = key @@ -86,8 +85,7 @@ proc getUniqueType*(key: PType): PType = if result == nil: gCanonicalTypes[k] = key result = key - of tyTypeDesc, tyTypeClasses, tyGenericParam, - tyFromExpr, tyFieldAccessor: + of tyTypeDesc, tyTypeClasses, tyGenericParam, tyFromExpr, tyFieldAccessor: internalError("GetUniqueType") of tyDistinct: if key.deepCopy != nil: result = key |