new dependency tracking for nimsuggest

This commit is contained in:
Araq 2016-11-05 01:19:23 +01:00
commit 9e6fb3f696
21 changed files with 284 additions and 393 deletions

View file

@ -12,7 +12,9 @@
import
strutils, ast, astalgo, passes, idents, msgs, options, idgen
proc verboseOpen(s: PSym; cache: IdentCache): PPassContext =
from modulegraphs import ModuleGraph
proc verboseOpen(graph: ModuleGraph; s: PSym; cache: IdentCache): PPassContext =
#MessageOut('compiling ' + s.name.s);
result = nil # we don't need a context
rawMessage(hintProcessing, s.name.s)