mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 09:43:58 +00:00
fixes #4913
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user