diff options
author | Araq <rumpf_a@web.de> | 2016-11-05 01:19:23 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-11-05 01:19:23 +0100 |
commit | 9e6fb3f696b2d28f900506b531a916457b4a263c (patch) | |
tree | bfa56e480c01264102b26703181c1c8a6d8e2233 /compiler/importer.nim | |
parent | 33ebf3e5fb05f45abadeff4747ab0e3031f75dd0 (diff) | |
download | Nim-9e6fb3f696b2d28f900506b531a916457b4a263c.tar.gz |
new dependency tracking for nimsuggest
Diffstat (limited to 'compiler/importer.nim')
-rw-r--r-- | compiler/importer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/importer.nim b/compiler/importer.nim index 771ab35d0..ce365c4dc 100644 --- a/compiler/importer.nim +++ b/compiler/importer.nim @@ -162,7 +162,7 @@ proc importModuleAs(n: PNode, realModule: PSym): PSym = proc myImportModule(c: PContext, n: PNode): PSym = var f = checkModuleName(n) if f != InvalidFileIDX: - result = importModuleAs(n, gImportModule(c.module, f, c.cache)) + result = importModuleAs(n, gImportModule(c.graph, c.module, f, c.cache)) # we cannot perform this check reliably because of # test: modules/import_in_config) if result.info.fileIndex == c.module.info.fileIndex and |