summary refs log tree commit diff stats
path: root/compiler/passaux.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-11-05 01:19:23 +0100
committerAraq <rumpf_a@web.de>2016-11-05 01:19:23 +0100
commit9e6fb3f696b2d28f900506b531a916457b4a263c (patch)
treebfa56e480c01264102b26703181c1c8a6d8e2233 /compiler/passaux.nim
parent33ebf3e5fb05f45abadeff4747ab0e3031f75dd0 (diff)
downloadNim-9e6fb3f696b2d28f900506b531a916457b4a263c.tar.gz
new dependency tracking for nimsuggest
Diffstat (limited to 'compiler/passaux.nim')
-rw-r--r--compiler/passaux.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/passaux.nim b/compiler/passaux.nim
index dc99ffd0c..eeaf12953 100644
--- a/compiler/passaux.nim
+++ b/compiler/passaux.nim
@@ -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)