hotfix doc comments for procs without body (#14494)
This commit is contained in:
parent
e31ac81899
commit
e646c16e06
6 changed files with 99 additions and 5 deletions
|
|
@ -642,6 +642,7 @@ proc getAllRunnableExamples(d: PDoc, n: PNode, dest: var Rope) =
|
|||
var state = rsStart
|
||||
template fn(n2) =
|
||||
state = getAllRunnableExamplesImpl(d, n2, dest, state)
|
||||
dest.add genComment(d, n).rope
|
||||
case n.kind
|
||||
of routineDefs:
|
||||
n = n.getRoutineBody
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue