summary refs log tree commit diff stats
path: root/compiler/passes.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-04-23 10:54:26 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-04-24 09:34:29 +0200
commit3e5192b5dafcfc93fae701d6cdf5ffa3d1a81e1f (patch)
tree2e8f689808fdfb37f513d0aa870594f3cd519a00 /compiler/passes.nim
parentba86b09e69e4c7cb6bc906f1f1db918547854161 (diff)
downloadNim-3e5192b5dafcfc93fae701d6cdf5ffa3d1a81e1f.tar.gz
compiler: remove unnecessary FileIndex type conversions
Diffstat (limited to 'compiler/passes.nim')
-rw-r--r--compiler/passes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim
index d7c181676..6ff3f2bb5 100644
--- a/compiler/passes.nim
+++ b/compiler/passes.nim
@@ -166,7 +166,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream,
     p: TParsers
     a: TPassContextArray
     s: PLLStream
-    fileIdx = FileIndex module.fileIdx
+    fileIdx = module.fileIdx
   if module.id < 0:
     # new module caching mechanism:
     for i in 0..<gPassesLen: