summary refs log tree commit diff stats
path: root/nimsuggest/nimsuggest.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-27 22:09:15 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-27 22:09:15 +0200
commit40ec7be45c7d9f05f46237379c4e436d564e42fd (patch)
tree8342996cf79c3cd3daa0eb0cb6c7058ab2d31b99 /nimsuggest/nimsuggest.nim
parenta325692fb29e07911adc5c95aa0c38018602ea21 (diff)
downloadNim-40ec7be45c7d9f05f46237379c4e436d564e42fd.tar.gz
refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly
Diffstat (limited to 'nimsuggest/nimsuggest.nim')
-rw-r--r--nimsuggest/nimsuggest.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim
index 1e5592483..5e04a5778 100644
--- a/nimsuggest/nimsuggest.nim
+++ b/nimsuggest/nimsuggest.nim
@@ -627,7 +627,7 @@ proc handleCmdLine(cache: IdentCache; conf: ConfigRef) =
     extccomp.initVars(conf)
     processCmdLine(passCmd2, "", conf)
 
-    let graph = newModuleGraph(conf)
+    let graph = newModuleGraph(cache, conf)
     graph.suggestMode = true
     mainCommand(graph, cache)