summary refs log tree commit diff stats
path: root/compiler/importer.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/importer.nim')
-rw-r--r--compiler/importer.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/importer.nim b/compiler/importer.nim
index 844cb1ad0..34e76d7d9 100644
--- a/compiler/importer.nim
+++ b/compiler/importer.nim
@@ -187,10 +187,9 @@ proc impMod(c: PContext; it: PNode; importStmtResult: PNode) =
   let it = transformImportAs(c, it)
   let m = myImportModule(c, it, importStmtResult)
   if m != nil:
-    var emptySet: IntSet
     # ``addDecl`` needs to be done before ``importAllSymbols``!
     addDecl(c, m, it.info) # add symbol to symbol table of module
-    importAllSymbolsExcept(c, m, emptySet)
+    importAllSymbols(c, m)
     #importForwarded(c, m.ast, emptySet, m)
 
 proc evalImport*(c: PContext, n: PNode): PNode =
mp;id=8db5b32ff73fd01f5fabe50703f3a2f6206275fa'>8db5b32ff ^
1
2
3
4
5
6
7
8
9
10
11
12
13