summary refs log tree commit diff stats
path: root/tests/run
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-09-13 00:12:14 +0200
committerAraq <rumpf_a@web.de>2012-09-13 00:12:14 +0200
commiteb72c7c0a0fb99d13b049de5aacb05673acc0754 (patch)
treef51d15decdc8ffeaa8127a53fa2d1ecb8595a904 /tests/run
parenta59abdf8e4d0c85fbcf2b039c46dc98030ffc460 (diff)
downloadNim-eb72c7c0a0fb99d13b049de5aacb05673acc0754.tar.gz
debugger compiles again
Diffstat (limited to 'tests/run')
-rw-r--r--tests/run/utemplates.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/utemplates.nim b/tests/run/utemplates.nim
index 8fd3d242a..68fbb23a6 100644
--- a/tests/run/utemplates.nim
+++ b/tests/run/utemplates.nim
@@ -21,7 +21,7 @@ test "templates can be redefined multiple times":
   template customAssert(cond: bool, msg: string): stmt =
     if not cond: fail(msg)
 
-  template assertion_failed(body: stmt) =
+  template assertion_failed(body: stmt) {.immediate.} =
     template fail(msg: string): stmt = body
 
   assertion_failed: check msg == "first fail path"