fixed some closure related bugs
This commit is contained in:
parent
d0bd5d5cc3
commit
0d978c4a9a
9 changed files with 226 additions and 24 deletions
|
|
@ -312,7 +312,9 @@ proc MainCommand =
|
|||
# no need to write rod files and would slow down things:
|
||||
#registerPass(rodwrite.rodwritePass())
|
||||
discard CompileModule(options.libpath / "system", {sfSystemModule})
|
||||
service.serve(proc () =
|
||||
# I'm lazy and misused this piece of code as a testcase so don't remove
|
||||
# the invocation with a named parameter:
|
||||
service.serve(action = proc () =
|
||||
let projectFile = mainCommandArg()
|
||||
discard CompileModule(projectFile, {sfMainModule})
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue