From 3e5192b5dafcfc93fae701d6cdf5ffa3d1a81e1f Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 23 Apr 2018 10:54:26 +0200 Subject: compiler: remove unnecessary FileIndex type conversions --- compiler/passes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/passes.nim') 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..