diff options
-rw-r--r-- | compiler/docgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 3dbc4fa58..f5795e1d2 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -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]) |