mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 20:47:53 +00:00
docgen: make tests green again [backport]
(cherry picked from commit 8f28be0dd8)
This commit is contained in:
@@ -231,7 +231,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])
|
||||
|
||||
Reference in New Issue
Block a user