summary refs log tree commit diff stats
path: root/compiler/ccgutils.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ccgutils.nim')
-rw-r--r--compiler/ccgutils.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgutils.nim b/compiler/ccgutils.nim
index 310f7204a..01928b22c 100644
--- a/compiler/ccgutils.nim
+++ b/compiler/ccgutils.nim
@@ -88,7 +88,7 @@ proc GetUniqueType*(key: PType): PType =
       result = key
   of tyTypeDesc, tyTypeClasses:
     InternalError("value expected, but got a type")
-  of tyGenericParam:
+  of tyGenericParam, tyStatic:
     InternalError("GetUniqueType")
   of tyGenericInst, tyDistinct, tyOrdinal, tyMutable, tyConst, tyIter:
     result = GetUniqueType(lastSon(key))