diff options
author | Araq <rumpf_a@web.de> | 2012-09-13 00:12:14 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-09-13 00:12:14 +0200 |
commit | eb72c7c0a0fb99d13b049de5aacb05673acc0754 (patch) | |
tree | f51d15decdc8ffeaa8127a53fa2d1ecb8595a904 /tests/run | |
parent | a59abdf8e4d0c85fbcf2b039c46dc98030ffc460 (diff) | |
download | Nim-eb72c7c0a0fb99d13b049de5aacb05673acc0754.tar.gz |
debugger compiles again
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/utemplates.nim | 2 |
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" |