diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 9ee02ec38c..dd7f53659b 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -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])