prepare Nimble for the upcoming compiler API (#489)

* prepare Nimble for the upcoming compiler API changes

* attempt to make tests green

* make some tests green with the upcoming compiler API
This commit is contained in:
Andreas Rumpf 2018-05-14 12:35:30 +02:00 committed by Dominik Picheta
commit 02945e57b5
2 changed files with 3 additions and 6 deletions

View file

@ -269,7 +269,7 @@ proc getLibVersion(lib: string): Version =
return system.NimVersion.newVersion()
when declared(ModuleGraph):
var graph: ModuleGraph
var graph = newModuleGraph()
proc execScript(scriptName: string, flags: Flags, options: Options): PSym =
## Executes the specified script. Returns the script's module symbol.