fixes #13100 nim doc now treats export localSymbol correctly (#13123) [backport]

* fix #13100 nim doc now treats `export localSymbol` correctly
* use owner instead
This commit is contained in:
Timothee Cour 2020-01-13 13:05:38 -08:00 • committed by Andreas Rumpf
commit 49d1822c8f
2 changed files with 26 additions and 14 deletions

View file

@ -62,7 +62,7 @@ template myOpenImpl(ext: untyped) {.dirty.} =
g.module = module
g.config = graph.config
var d = newDocumentor(AbsoluteFile toFullPath(graph.config, FileIndex module.position),
graph.cache, graph.config, ext)
graph.cache, graph.config, ext, module)
d.hasToc = true
g.doc = d
result = g