diff options
author | Araq <rumpf_a@web.de> | 2012-09-08 15:43:21 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-09-08 15:43:21 +0200 |
commit | b64eeeb4303953f9fe1135cb9c3c61e23ec55afa (patch) | |
tree | 0f994de4a02afd9bed14dafcac24a3dd2df99d0d /tests/patterns/tstar.nim | |
parent | 355ae07b8f3362af4e90770477d344dcd2fef594 (diff) | |
download | Nim-b64eeeb4303953f9fe1135cb9c3c61e23ec55afa.tar.gz |
term rewriting improvements
Diffstat (limited to 'tests/patterns/tstar.nim')
-rw-r--r-- | tests/patterns/tstar.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/patterns/tstar.nim b/tests/patterns/tstar.nim index 55d841c3a..ac3373214 100644 --- a/tests/patterns/tstar.nim +++ b/tests/patterns/tstar.nim @@ -10,7 +10,7 @@ proc `&&`(s: varargs[string]): string = for i in 1..len(s)-1: result.add s[i] inc calls -template optConc{ `&&` * a }(a: expr): expr = &&a +template optConc{ `&&` * a }(a: varargs[string]): expr = &&a let space = " " echo "my" && (space & "awe" && "some " ) && "concat" |