diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-04-23 10:54:26 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-04-24 09:34:29 +0200 |
commit | 3e5192b5dafcfc93fae701d6cdf5ffa3d1a81e1f (patch) | |
tree | 2e8f689808fdfb37f513d0aa870594f3cd519a00 /compiler/passes.nim | |
parent | ba86b09e69e4c7cb6bc906f1f1db918547854161 (diff) | |
download | Nim-3e5192b5dafcfc93fae701d6cdf5ffa3d1a81e1f.tar.gz |
compiler: remove unnecessary FileIndex type conversions
Diffstat (limited to 'compiler/passes.nim')
-rw-r--r-- | compiler/passes.nim | 2 |
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: |