refactoring: make projectMainIdx typesafe
This commit is contained in:
parent
40ec7be45c
commit
545b1582cd
7 changed files with 17 additions and 21 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue