void type improvements; documentation improvements

This commit is contained in:
Araq 2011-07-31 14:57:38 +02:00
commit 4f7fa05911
5 changed files with 162 additions and 17 deletions

View file

@ -570,6 +570,7 @@ proc semProcTypeNode(c: PContext, n, genericParams: PNode,
def = fitNode(c, typ, def)
else:
def = ast.emptyNode
if skipTypes(typ, {tyGenericInst}).kind == tyEmpty: continue
for j in countup(0, length - 3):
var arg = newSymS(skParam, a.sons[j], c)
arg.typ = typ