summary refs log tree commit diff stats
path: root/lib/pure/collections
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-11-16 03:05:02 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-11-18 14:18:00 +0100
commit6976bf20f5f0ca97ab0e659ccd1e97be222b7ca1 (patch)
tree25070cda4905c84e35cda1772e57fa35dc728ebc /lib/pure/collections
parentb02ecda5a052b828d8baed3ba6ff1ce58b660a44 (diff)
downloadNim-6976bf20f5f0ca97ab0e659ccd1e97be222b7ca1.tar.gz
Use 'typedesc' instead of 'untyped'
Diffstat (limited to 'lib/pure/collections')
-rw-r--r--lib/pure/collections/sequtils.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/sequtils.nim b/lib/pure/collections/sequtils.nim
index ee89ce17b..8bbfb5f55 100644
--- a/lib/pure/collections/sequtils.nim
+++ b/lib/pure/collections/sequtils.nim
@@ -706,7 +706,7 @@ template newSeqWith*(len: int, init: untyped): untyped =
     result[i] = init
   result
 
-macro asArray*(targetType: untyped, values: typed): untyped =
+macro asArray*(targetType: typedesc, values: typed): untyped =
   ## applies a type conversion to each of the elements in the specified
   ## array literal. Each element is converted to the ``targetType`` type..
   ##