summary refs log tree commit diff stats
path: root/compiler/vmdeps.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-09-07 01:53:09 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-09-07 01:53:09 +0200
commitad9db5cb1aab17d12bc0ed20a1ed0548e351b3db (patch)
treebe7af65d131263d1fd619a4e656a1205a871739b /compiler/vmdeps.nim
parent92863c0e75d32bffb0d7af15310e04cca7da9d3a (diff)
downloadNim-ad9db5cb1aab17d12bc0ed20a1ed0548e351b3db.tar.gz
compiler refactoring; use typesafe path handing; docgen: render symbols between modules
Diffstat (limited to 'compiler/vmdeps.nim')
-rw-r--r--compiler/vmdeps.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim
index bf2418eaf..eb6111165 100644
--- a/compiler/vmdeps.nim
+++ b/compiler/vmdeps.nim
@@ -13,7 +13,7 @@ proc opSlurp*(file: string, info: TLineInfo, module: PSym; conf: ConfigRef): str
   try:
     var filename = parentDir(toFullPath(conf, info)) / file
     if not fileExists(filename):
-      filename = findFile(conf, file)
+      filename = findFile(conf, file).string
     result = readFile(filename)
     # we produce a fake include statement for every slurped filename, so that
     # the module dependencies are accurate: