debugger compiles again
This commit is contained in:
parent
a59abdf8e4
commit
eb72c7c0a0
3 changed files with 8 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue