Replace countup(x, y) with x .. y

This commit is contained in:
Clyybber 2019-05-07 12:37:28 +02:00
commit cc28eef38e
35 changed files with 103 additions and 103 deletions

View file

@ -386,7 +386,7 @@ proc trackTryStmt(tracked: PEffects, n: PNode) =
if blen == 1:
catchesAll(tracked)
else:
for j in countup(0, blen - 2):
for j in 0 .. blen - 2:
if b.sons[j].isInfixAs():
assert(b.sons[j][1].kind == nkType)
catches(tracked, b.sons[j][1].typ)