fixed typos so docgen works again
This commit is contained in:
parent
00a702baeb
commit
7deb8b2e7b
4 changed files with 4 additions and 3 deletions
|
|
@ -364,6 +364,7 @@ proc semVarOrLet(c: PContext, n: PNode, symkind: TSymKind): PNode =
|
|||
# BUGFIX: ``fitNode`` is needed here!
|
||||
# check type compability between def.typ and typ
|
||||
def = fitNode(c, typ, def)
|
||||
#changeType(def.skipConv, typ, check=true)
|
||||
else:
|
||||
typ = skipIntLit(def.typ)
|
||||
if typ.kind in {tySequence, tyArray, tySet} and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue