work around a regression caused by the new 'echo' implementation
This commit is contained in:
parent
f73938218e
commit
a0ad3aa183
1 changed files with 3 additions and 1 deletions
|
|
@ -97,7 +97,9 @@ proc checkpoint*(msg: string) =
|
|||
template fail* =
|
||||
bind checkpoints
|
||||
for msg in items(checkpoints):
|
||||
echo msg
|
||||
# this used to be 'echo' which now breaks due to a bug. XXX will revisit
|
||||
# this issue later.
|
||||
stdout.writeln msg
|
||||
|
||||
when not defined(ECMAScript):
|
||||
if abortOnError: quit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue