summary refs log tree commit diff stats
path: root/tests/run
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-09-08 15:43:21 +0200
committerAraq <rumpf_a@web.de>2012-09-08 15:43:21 +0200
commitb64eeeb4303953f9fe1135cb9c3c61e23ec55afa (patch)
tree0f994de4a02afd9bed14dafcac24a3dd2df99d0d /tests/run
parent355ae07b8f3362af4e90770477d344dcd2fef594 (diff)
downloadNim-b64eeeb4303953f9fe1135cb9c3c61e23ec55afa.tar.gz
term rewriting improvements
Diffstat (limited to 'tests/run')
-rw-r--r--tests/run/tpatterns.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/tpatterns.nim b/tests/run/tpatterns.nim
index 4a83d167c..6bc8772e3 100644
--- a/tests/run/tpatterns.nim
+++ b/tests/run/tpatterns.nim
@@ -4,7 +4,7 @@ hel'''
 """
 
 template optZero{x+x}(x: int): int = x*3
-template andthen{x*3}(x: int): int = x*4
+template andthen{`*`(x,3)}(x: int): int = x*4
 template optSubstr1{x = substr(x, a, b)}(x: string, a, b: int) = setlen(x, b+1)
 
 var y = 12