summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-30 23:30:02 +0100
committerAraq <rumpf_a@web.de>2018-10-30 23:30:02 +0100
commit8f28be0dd8b0519ed98e62f1f66f5fb17c0c96bc (patch)
treeaa0f284a79aa8286b20c8f4af50fcc6cac5b9bf6
parentc9e8b899edf0931639b49603e61d0b25be834bc1 (diff)
downloadNim-8f28be0dd8b0519ed98e62f1f66f5fb17c0c96bc.tar.gz
docgen: make tests green again [backport]
-rw-r--r--compiler/docgen.nim2
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])