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:
parent
e2869714b8
commit
02945e57b5
2 changed files with 3 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue