diff options
author | Araq <rumpf_a@web.de> | 2011-04-01 00:40:02 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-04-01 00:40:02 +0200 |
commit | 0c05177388c408e9411f3956be24ad68e305eb1a (patch) | |
tree | f88c2ed7befb021e75790d829e2295c6bd95d9ea | |
parent | 22dadba21474e4a55db6ed6aa4abec5f9645582f (diff) | |
download | Nim-0c05177388c408e9411f3956be24ad68e305eb1a.tar.gz |
fixes #28
-rw-r--r-- | tests/accept/run/tkoeniglookup.nim | 2 | ||||
-rwxr-xr-x | tools/buildsh.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/accept/run/tkoeniglookup.nim b/tests/accept/run/tkoeniglookup.nim index 59fea2f42..07c5b46be 100644 --- a/tests/accept/run/tkoeniglookup.nim +++ b/tests/accept/run/tkoeniglookup.nim @@ -2,7 +2,7 @@ discard """ output: '''x: 0 y: 0''' """ -proc ToString[T]*(x: T): string = return $x +proc ToString*[T](x: T): string = return $x type diff --git a/tools/buildsh.tmpl b/tools/buildsh.tmpl index e763a5c05..8893f4da0 100755 --- a/tools/buildsh.tmpl +++ b/tools/buildsh.tmpl @@ -12,7 +12,7 @@ ucpu=`uname -m` uos=`uname` # add(result, "# convert to lower case:\n") -upcu=`echo $ucpu | tr "[:upper:]" "[:lower:]"` +ucpu=`echo $ucpu | tr "[:upper:]" "[:lower:]"` uos=`echo $uos | tr "[:upper:]" "[:lower:]"` case $uos in |