diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2014-02-11 14:21:20 -0600 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2014-02-11 14:21:20 -0600 |
commit | 565031f0cd4768962fb19ac4e17efb994dfb4735 (patch) | |
tree | 794dca8251ceee43ce6e687048ceb9d3e61e744b | |
parent | b6e4a5229dabe20514b07a130f8b26b59a427d61 (diff) | |
download | Nim-565031f0cd4768962fb19ac4e17efb994dfb4735.tar.gz |
removed `$` for openarray, was commented out
-rw-r--r-- | lib/system.nim | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/system.nim b/lib/system.nim index 222ed9d8d..fde24a9d0 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": |