Replace countup(x, y-1) with x ..< y
This commit is contained in:
parent
9ffab44c35
commit
f18b3af9d4
58 changed files with 312 additions and 312 deletions
|
|
@ -337,7 +337,7 @@ proc computeSizeAlign(conf: ConfigRef; typ: PType) =
|
|||
of tyTuple:
|
||||
maxAlign = 1
|
||||
sizeAccum = 0
|
||||
for i in countup(0, sonsLen(typ) - 1):
|
||||
for i in 0 ..< sonsLen(typ):
|
||||
let child = typ.sons[i]
|
||||
computeSizeAlign(conf, child)
|
||||
if child.size < 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue