summary refs log tree commit diff stats
path: root/compiler/vm.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/vm.nim')
-rw-r--r--compiler/vm.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim
index 84057e656..5aa1517e4 100644
--- a/compiler/vm.nim
+++ b/compiler/vm.nim
@@ -1676,7 +1676,7 @@ proc myProcess(c: PPassContext, n: PNode): PNode =
   let c = PCtx(c)
   # don't eval errornous code:
   if c.oldErrorCount == c.config.errorCounter:
-    evalStmt(PCtx(c), n)
+    evalStmt(c, n)
     result = emptyNode
   else:
     result = n