From 6976bf20f5f0ca97ab0e659ccd1e97be222b7ca1 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 16 Nov 2017 03:05:02 +0100 Subject: [PATCH] Use 'typedesc' instead of 'untyped' --- lib/pure/collections/sequtils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.. ##