summary refs log tree commit diff stats
path: root/compiler/modules.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-02 08:52:28 +0200
committerAraq <rumpf_a@web.de>2018-10-02 16:18:15 +0200
commit76aab9baf1c795a812d00bd4c0f2832b5ac2d379 (patch)
treed59543aac028470809eb60da6717861529ecd31b /compiler/modules.nim
parentc6e10a442d3cc0c67d2965b5f523cd2835ea5ec2 (diff)
downloadNim-76aab9baf1c795a812d00bd4c0f2832b5ac2d379.tar.gz
compiler: make symbolfiles feature compile again
Diffstat (limited to 'compiler/modules.nim')
-rw-r--r--compiler/modules.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/modules.nim b/compiler/modules.nim
index 8fedba10a..75e95e453 100644
--- a/compiler/modules.nim
+++ b/compiler/modules.nim
@@ -66,7 +66,7 @@ proc compileModule*(graph: ModuleGraph; fileIdx: FileIndex; flags: TSymFlags): P
     if sfMainModule in result.flags:
       graph.config.mainPackageId = result.owner.id
 
-    result.id = getModuleId(graph, fileIdx, toFullPath(graph.config, fileIdx))
+    result.id = getModuleId(graph, fileIdx, AbsoluteFile toFullPath(graph.config, fileIdx))
     discard processModule(graph, result,
       if sfMainModule in flags and graph.config.projectIsStdin: stdin.llStreamOpen else: nil)
   elif graph.isDirty(result):