From 565031f0cd4768962fb19ac4e17efb994dfb4735 Mon Sep 17 00:00:00 2001 From: Simon Hafner Date: Tue, 11 Feb 2014 14:21:20 -0600 Subject: [PATCH] removed `$` for openarray, was commented out --- lib/system.nim | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/system.nim b/lib/system.nim index 222ed9d8dd..fde24a9d04 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1690,19 +1690,6 @@ proc `$`*[T: seq](x: T): string = firstElement = false result.add("]") -when false: - proc `$`*[T](a: openArray[T]): string = - ## generic ``$`` operator for open arrays that is lifted from the elements - ## of `a`. Example: - ## - ## .. code-block:: nimrod - ## $[23, 45] == "[23, 45]" - result = "[" - for x in items(a): - if result.len > 1: result.add(", ") - result.add($x) - result.add("]") - # ----------------- GC interface --------------------------------------------- when not defined(nimrodVM) and hostOS != "standalone":