fixes #71; sorry about the polling implementation

This commit is contained in:
Araq 2011-12-05 21:43:45 +01:00
commit c6213c9774
6 changed files with 62 additions and 12 deletions

View file

@ -5,7 +5,6 @@ discard """
template myAssert(cond: expr) =
when rand(3) < 2:
let c = cond.astToStr
{.warning: "code activated: " & c.}
if not cond:
echo c, "ugh"