Skip to content

Commit

Permalink
fix type=>typedesc for bootstrap support
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Aug 9, 2018
1 parent 263a5c5 commit daf06f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/collections/sequtils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit daf06f6

Please sign in to comment.