diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-27 22:09:15 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-27 22:09:15 +0200 |
commit | 40ec7be45c7d9f05f46237379c4e436d564e42fd (patch) | |
tree | 8342996cf79c3cd3daa0eb0cb6c7058ab2d31b99 /nimsuggest/nimsuggest.nim | |
parent | a325692fb29e07911adc5c95aa0c38018602ea21 (diff) | |
download | Nim-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.nim | 2 |
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) |