summary refs log tree commit diff stats
path: root/compiler/rod.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rod.nim')
-rw-r--r--compiler/rod.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rod.nim b/compiler/rod.nim
index e3e568a0e..13a4a53c9 100644
--- a/compiler/rod.nim
+++ b/compiler/rod.nim
@@ -9,14 +9,14 @@
 
 ## This module implements the canonalization for the various caching mechanisms.
 
-import ast, idgen, lineinfos, incremental, modulegraphs, pathutils
+import ast, lineinfos, incremental, modulegraphs, pathutils
 
 when not nimIncremental:
   template setupModuleCache*(g: ModuleGraph) = discard
   template storeNode*(g: ModuleGraph; module: PSym; n: PNode) = discard
   template loadNode*(g: ModuleGraph; module: PSym): PNode = newNode(nkStmtList)
 
-  proc loadModuleSym*(g: ModuleGraph; fileIdx: FileIndex; fullpath: AbsoluteFile): (PSym, int) {.inline.} = (nil, getID())
+  proc loadModuleSym*(g: ModuleGraph; fileIdx: FileIndex; fullpath: AbsoluteFile): (PSym) {.inline.} = nil
 
   template addModuleDep*(g: ModuleGraph; module, fileIdx: FileIndex; isIncludeFile: bool) = discard