summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 2f95b45f0..8e6b997b6 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -4131,3 +4131,6 @@ when defined(cpp) and appType != "lib" and not defined(js) and
     stderr.write trace & "Error: unhandled exception: " & ex.msg &
                  " [" & $ex.name & "]\n"
     quit 1
+
+type
+  ForLoopExpr*{.compilerProc.}[T] = object ## the type of a 'for' loop expression