This commit is contained in:
Andreas Rumpf 2016-03-04 22:41:17 +01:00
commit dae175b3c4
2 changed files with 32 additions and 17 deletions

View file

@ -100,7 +100,6 @@ proc renderParamTypes(found: var seq[string], n: PNode) =
if not typ.isNil: typeStr = typeToString(typ, preferExported)
if typeStr.len < 1: return
for i in 0 .. <typePos:
assert ((n[i].kind == nkIdent) or (n[i].kind == nkAccQuoted))
found.add(typeStr)
else:
internalError(n.info, "renderParamTypes(found,n) with " & $n.kind)