diff options
-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 |