This commit is contained in:
narimiran
2022-07-20 11:20:33 +02:00
parent c5cd23a776
commit c6e0983b47

View File

@@ -238,7 +238,7 @@ block:
# bug #13739
iterator myIter(arg: openarray[int]): int =
var tmp = 0
leten = arg.len
let len = arg.len
while tmp < len:
yield arg[tmp] * 2
inc tmp