symbol files: delay the emission of forwarded procs

This commit is contained in:
Araq 2018-02-21 11:42:58 +01:00
commit 67380f71d6
3 changed files with 20 additions and 9 deletions

View file

@ -619,6 +619,7 @@ proc myClose(graph: ModuleGraph; context: PPassContext, n: PNode): PNode =
replayMethodDefs(graph, c.rd)
popOwner(c)
popProcCon(c)
storeRemaining(c.module)
if c.runnableExamples != nil: testExamples(c)
const semPass* = makePass(myOpen, myOpenCached, myProcess, myClose,