make nim bootstrap again for older versions

This commit is contained in:
Andreas Rumpf 2016-07-30 00:50:38 +02:00
commit a8edf67a28
6 changed files with 14 additions and 6 deletions

View file

@ -1874,7 +1874,7 @@ iterator countdown*[T](a, b: T, step = 1): T {.inline.} =
yield res
dec(res, step)
template countupImpl(incr: untyped) {.dirty.} =
template countupImpl(incr: untyped) {.oldimmediate, dirty.} =
when T is IntLikeForCount:
var res = int(a)
while res <= int(b):