This commit is contained in:
Araq 2011-04-01 00:40:02 +02:00
commit 0c05177388
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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