From daf06f66e57273cbf26cb46d9466ae2a65fdfe42 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Wed, 8 Aug 2018 21:38:12 -0700 Subject: [PATCH] fix type=>typedesc for bootstrap support --- 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 5efbdd68afa2a..9421cbe0acdbf 100644 --- a/lib/pure/collections/sequtils.nim +++ b/lib/pure/collections/sequtils.nim @@ -635,7 +635,7 @@ template mapIt*(s, typ, op: untyped): untyped = result.add(op) result -proc isLetAssigneable(T: type): bool = T isnot openArray +proc isLetAssigneable(T: typedesc): bool = T isnot openArray macro evalOnce(v, exp: untyped, letAssigneable: static[bool]): untyped = expectKind(v, nnkIdent)