From 826c1e2d7850026335d33e3be2fce54dee4f6698 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sat, 2 Jun 2018 09:41:27 +0200 Subject: incremental compilation: implemented basic replay logic --- compiler/suggest.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/suggest.nim') 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): -- cgit 1.4.1-2-gfad0