Skip to content

Commit

Permalink
fixes #4913
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Oct 20, 2016
1 parent 20ee65a commit 13b68a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/docgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 13b68a1

Please sign in to comment.