summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-21 00:54:13 +0200
committerAraq <rumpf_a@web.de>2011-09-21 00:54:13 +0200
commit2359b8b1073cfd027ac14a147aba06cc18d61010 (patch)
treea626a08e54311512f40d6ce1a40ffd397dab9cfa /lib/system.nim
parent57f184cf48a0b522001ab20e2c742d4d6436e14d (diff)
downloadNim-2359b8b1073cfd027ac14a147aba06cc18d61010.tar.gz
fixed some newly introduced bugs
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 3fc4733b2..ea004b925 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1288,8 +1288,7 @@ proc pop*[T](s: var seq[T]): T {.inline, noSideEffect.} =
   result = s[L]
   setLen(s, L)
 
-proc each*[T, S](data: openArray[T], op: proc (x: T): S): seq[S] {.
-    noSideEffect.} = 
+proc each*[T, S](data: openArray[T], op: proc (x: T): S): seq[S] = 
   ## The well-known ``map`` operation from functional programming. Applies
   ## `op` to every item in `data` and returns the result as a sequence.
   newSeq(result, data.len)