docgen: make tests green again [backport]
This commit is contained in:
parent
c9e8b899ed
commit
8f28be0dd8
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ proc genRecCommentAux(d: PDoc, n: PNode): Rope =
|
|||
result = genComment(d, n).rope
|
||||
if result == nil:
|
||||
if n.kind in {nkStmtList, nkStmtListExpr, nkTypeDef, nkConstDef,
|
||||
nkObjectTy, nkRefTy, nkPtrTy}:
|
||||
nkObjectTy, nkRefTy, nkPtrTy, nkAsgn, nkFastAsgn}:
|
||||
# notin {nkEmpty..nkNilLit, nkEnumTy, nkTupleTy}:
|
||||
for i in countup(0, len(n)-1):
|
||||
result = genRecCommentAux(d, n.sons[i])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue