From 13b68a12d3c02d2ddce685164475a542af6193ab Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 20 Oct 2016 21:37:51 +0200 Subject: [PATCH] fixes #4913 --- compiler/docgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/docgen.nim b/compiler/docgen.nim index c220902ff..189a055c3 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -184,7 +184,7 @@ proc genRecComment(d: PDoc, n: PNode): Rope = if n == nil: return nil result = genComment(d, n).rope if result == nil: - if n.kind notin {nkEmpty..nkNilLit, nkEnumTy}: + if n.kind notin {nkEmpty..nkNilLit, nkEnumTy, nkTupleTy}: for i in countup(0, len(n)-1): result = genRecComment(d, n.sons[i]) if result != nil: return