void type improvements; documentation improvements
This commit is contained in:
parent
00da785f5d
commit
4f7fa05911
5 changed files with 162 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue