summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authornarimiran <narimiran@disroot.org>2019-11-13 14:24:25 +0100
committernarimiran <narimiran@disroot.org>2019-11-13 14:24:25 +0100
commit8394c003008a42990aada0dd75e8b1ed94777da2 (patch)
treee1aeee190fb7b7e648a033965cb93772a03f801a /lib
parent0496a666e22465eba9a309f0974220988f7f9920 (diff)
downloadNim-8394c003008a42990aada0dd75e8b1ed94777da2.tar.gz
remove long-deprecated 'mapIt'
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/collections/sequtils.nim7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim
index f71f13358..0bf5f82d3 100644
--- a/lib/pure/collections/sequtils.nim
+++ b/lib/pure/collections/sequtils.nim
@@ -872,13 +872,6 @@ template mapIt*(s: typed, op: untyped): untyped =
       result.add(op)
     result
 
-template mapIt*(s, typ, op: untyped): untyped {.error:
-  "Deprecated since v0.12; Use 'mapIt(seq1, op)' - without specifying the type of the returned sequence".} =
-  var result: seq[typ] = @[]
-  for it {.inject.} in items(s):
-    result.add(op)
-  result
-
 template applyIt*(varSeq, op: untyped) =
   ## Convenience template around the mutable ``apply`` proc to reduce typing.
   ##