nimsuggest is now part of Nim

This commit is contained in:
Araq 2016-10-31 20:12:54 +01:00
commit 08c94ef6b5
10 changed files with 1343 additions and 8 deletions

View file

@ -233,7 +233,7 @@ proc suggestFieldAccess(c: PContext, n: PNode, outputs: var int) =
# error: no known module name:
typ = nil
else:
let m = gImportModule(c.module, fullpath.fileInfoIdx)
let m = gImportModule(c.module, fullpath.fileInfoIdx, c.cache)
if m == nil: typ = nil
else:
for it in items(n.sym.tab):