make nim bootstrap again for older versions
This commit is contained in:
parent
8f457f6ebb
commit
a8edf67a28
6 changed files with 14 additions and 6 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue