summary refs log tree commit diff stats
path: root/compiler/suggest.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-06-02 09:41:27 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-06-02 09:41:27 +0200
commit826c1e2d7850026335d33e3be2fce54dee4f6698 (patch)
tree61b23c163c8cd9063ea8628798d727da404e1f1d /compiler/suggest.nim
parentcae19738562f14fbb76004748bed8d2f337d6f0b (diff)
downloadNim-826c1e2d7850026335d33e3be2fce54dee4f6698.tar.gz
incremental compilation: implemented basic replay logic
Diffstat (limited to 'compiler/suggest.nim')
-rw-r--r--compiler/suggest.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/suggest.nim b/compiler/suggest.nim
index b66dbce68..a21d64338 100644
--- a/compiler/suggest.nim
+++ b/compiler/suggest.nim
@@ -323,7 +323,7 @@ proc suggestFieldAccess(c: PContext, n, field: PNode, outputs: var Suggestions)
         # error: no known module name:
         typ = nil
       else:
-        let m = gImportModule(c.graph, c.module, fileInfoIdx(c.config, fullpath), c.cache)
+        let m = c.graph.importModuleCallback(c.graph, c.module, fileInfoIdx(c.config, fullpath))
         if m == nil: typ = nil
         else:
           for it in items(n.sym.tab):