make tests green again
This commit is contained in:
parent
136dbd3c6a
commit
bb5bab1b74
3 changed files with 21 additions and 14 deletions
|
|
@ -2022,6 +2022,13 @@ when defined(nimNewRoof):
|
|||
yield res
|
||||
inc(res)
|
||||
|
||||
iterator `..`*(a, b: int32): int32 {.inline.} =
|
||||
## A special version of `..`` for ``int32`` only.
|
||||
var res = a
|
||||
while res <= b:
|
||||
yield res
|
||||
inc(res)
|
||||
|
||||
else:
|
||||
iterator countup*[S, T](a: S, b: T, step = 1): T {.inline.} =
|
||||
## Counts from ordinal value `a` up to `b` (inclusive) with the given
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue