summary refs log tree commit diff stats
path: root/compiler/main.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/main.nim')
-rwxr-xr-xcompiler/main.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index fd934e195..0a76b967a 100755
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -312,9 +312,7 @@ proc MainCommand =
     # no need to write rod files and would slow down things:
     #registerPass(rodwrite.rodwritePass())
     discard CompileModule(options.libpath / "system", {sfSystemModule})
-    # 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 () =
+    service.serve(proc () =
       let projectFile = mainCommandArg()
       discard CompileModule(projectFile, {sfMainModule})
     )