bugfixes and improvements for term rewriting macros

This commit is contained in:
Araq 2012-09-04 23:57:39 +02:00
commit 30c00aba07
5 changed files with 30 additions and 19 deletions

View file

@ -15,5 +15,5 @@ template optConc{ `&&` * a }(a: expr): expr = &&a
let space = " "
echo "my" && (space & "awe" && "some " ) && "concat"
# check that it's been properly optimized:
# check that it's been optimized properly:
doAssert calls == 1