summary refs log tree commit diff stats
path: root/compiler/semtypinst.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/semtypinst.nim')
-rwxr-xr-xcompiler/semtypinst.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/semtypinst.nim b/compiler/semtypinst.nim
index 82ebc4b5f..03b6e3961 100755
--- a/compiler/semtypinst.nim
+++ b/compiler/semtypinst.nim
@@ -41,7 +41,6 @@ proc searchInstTypes(key: PType): PType =
     return
 
   for inst in genericTyp.sym.typeInstCache:
-    InternalAssert inst.sons.len == key.sons.len + 1
     if inst.id == key.id: return inst
     block MatchType:
       for j in 1 .. high(key.sons):