diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-27 22:30:36 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-27 22:30:36 +0200 |
commit | 545b1582cddb27aba75ac791f8f89e33c6d1ca5a (patch) | |
tree | 29b2bde4871cec44d8c508e648299fd62465129b /compiler/main.nim | |
parent | 40ec7be45c7d9f05f46237379c4e436d564e42fd (diff) | |
download | Nim-545b1582cddb27aba75ac791f8f89e33c6d1ca5a.tar.gz |
refactoring: make projectMainIdx typesafe
Diffstat (limited to 'compiler/main.nim')
-rw-r--r-- | compiler/main.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main.nim b/compiler/main.nim index fe95f3b9b..3b5370fa5 100644 --- a/compiler/main.nim +++ b/compiler/main.nim @@ -261,7 +261,7 @@ proc mainCommand*(graph: ModuleGraph; cache: IdentCache) = of "parse": conf.cmd = cmdParse wantMainModule(conf) - discard parseFile(FileIndex conf.projectMainIdx, cache, conf) + discard parseFile(conf.projectMainIdx, cache, conf) of "scan": conf.cmd = cmdScan wantMainModule(conf) |