blob: 274c78921e1a2d25d855573e4d465adbb1533365 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
discard """
output: "x == 45ugh"
"""
template myAssert(cond: untyped) =
when 3 <= 3:
let c = cond.astToStr
if not cond:
echo c, "ugh"
var x = 454
myAssert(x == 45)
|