summary refs log tree commit diff stats
path: root/compiler/importer.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-13 09:53:00 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-05-13 09:53:00 +0200
commite4c088721a969ffafe621fecd8bb28dfa2fe9d18 (patch)
tree3f684977214fafe69eef5e0dfad84f2fa567241a /compiler/importer.nim
parentdc4aa47c29bbcc7453244a11bcdb09e2eb62f1f5 (diff)
downloadNim-e4c088721a969ffafe621fecd8bb28dfa2fe9d18.tar.gz
make nimsuggest compile again
Diffstat (limited to 'compiler/importer.nim')
-rw-r--r--compiler/importer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/importer.nim b/compiler/importer.nim
index 05beb1d98..4e3aa8d10 100644
--- a/compiler/importer.nim
+++ b/compiler/importer.nim
@@ -152,7 +152,7 @@ proc myImportModule(c: PContext, n: PNode): PSym =
         message(c.config, n.info, warnDeprecated, result.constraint.strVal & "; " & result.name.s)
       else:
         message(c.config, n.info, warnDeprecated, result.name.s)
-    suggestSym(n.info, result, c.graph.usageSym, false)
+    suggestSym(c.config, n.info, result, c.graph.usageSym, false)
 
 proc impMod(c: PContext; it: PNode) =
   let m = myImportModule(c, it)