parent
4e0e706cfe
commit
e26545797e
3 changed files with 12 additions and 2 deletions
|
|
@ -201,6 +201,7 @@ proc replaceTypeVarsN(cl: var TReplTypeVars, n: PNode; start=0): PNode =
|
|||
case n.kind
|
||||
of nkNone..pred(nkSym), succ(nkSym)..nkNilLit:
|
||||
discard
|
||||
of nkOpenSymChoice, nkClosedSymChoice: result = n
|
||||
of nkSym:
|
||||
result.sym = replaceTypeVarsS(cl, n.sym)
|
||||
if result.sym.typ.kind == tyVoid:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue