parent
5b26f2bd81
commit
061a9183f7
5 changed files with 8 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ var x = [[1, 2, 3], [4, 5, 6]]
|
|||
for y in iter1(x[0]): write(stdout, $y)
|
||||
writeLine(stdout, "")
|
||||
|
||||
# ensure closure and inline iterators have the same behaviour wrt
|
||||
# ensure closure and inline iterators have the same behaviour regarding
|
||||
# parameter passing
|
||||
|
||||
iterator clo(a: int): int {.closure.} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue