From 3215666e33846db87e3b3ac1b6ab51a14f7b6912 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 20 Nov 2014 00:27:35 +0100 Subject: [PATCH] fixes #1666 --- lib/system.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/system.nim b/lib/system.nim index f268889d6..62f11bc9a 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -2125,7 +2125,7 @@ elif hostOS != "standalone": inc(i) {.pop.} -proc echo*[T](x: varargs[T, `$`]) {.magic: "Echo", tags: [WriteIOEffect], benign.} +proc echo*(x: varargs[string, `$`]) {.magic: "Echo", tags: [WriteIOEffect], benign.} ## Writes and flushes the parameters to the standard output. ## ## Special built-in that takes a variable number of arguments. Each argument @@ -2140,8 +2140,8 @@ proc echo*[T](x: varargs[T, `$`]) {.magic: "Echo", tags: [WriteIOEffect], benign ## `_ you can use `debugEcho <#debugEcho>`_ ## instead. -proc debugEcho*[T](x: varargs[T, `$`]) {.magic: "Echo", noSideEffect, - tags: [], raises: [].} +proc debugEcho*(x: varargs[string, `$`]) {.magic: "Echo", noSideEffect, + tags: [], raises: [].} ## Same as `echo <#echo>`_, but as a special semantic rule, ``debugEcho`` ## pretends to be free of side effects, so that it can be used for debugging ## routines marked as `noSideEffect `_.