fixes #28
This commit is contained in:
parent
22dadba214
commit
0c05177388
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
||||||
output: '''x: 0 y: 0'''
|
output: '''x: 0 y: 0'''
|
||||||
"""
|
"""
|
||||||
|
|
||||||
proc ToString[T]*(x: T): string = return $x
|
proc ToString*[T](x: T): string = return $x
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ ucpu=`uname -m`
|
||||||
uos=`uname`
|
uos=`uname`
|
||||||
|
|
||||||
# add(result, "# convert to lower case:\n")
|
# 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:]"`
|
uos=`echo $uos | tr "[:upper:]" "[:lower:]"`
|
||||||
|
|
||||||
case $uos in
|
case $uos in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue