From 8f28be0dd8b0519ed98e62f1f66f5fb17c0c96bc Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 30 Oct 2018 23:30:02 +0100 Subject: docgen: make tests green again [backport] --- compiler/docgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit 1.4.1-2-gfad0