remove deprecated procs (#12535)
This commit is contained in:
parent
ffa9a7405f
commit
3ba3307d61
39 changed files with 111 additions and 567 deletions
|
|
@ -39,7 +39,7 @@ proc cmpPlatforms(a, b: string): int =
|
|||
|
||||
proc sorted[T](a: openArray[T]): bool =
|
||||
result = true
|
||||
for i in 0 .. < a.high:
|
||||
for i in 0 ..< a.high:
|
||||
if cmpPlatforms(a[i], a[i+1]) > 0:
|
||||
echo "Out of order: ", a[i], " ", a[i+1]
|
||||
result = false
|
||||
|
|
|
|||
|
|
@ -24,5 +24,5 @@ write(stdout, ack(5, 4))
|
|||
|
||||
# bug #1442
|
||||
let h=3
|
||||
for x in 0.. <h.int:
|
||||
for x in 0 ..< h.int:
|
||||
echo x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue