diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-12-31 00:16:38 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-12-31 00:16:38 +0100 |
commit | 307a6095fa69104e3b21aa796095f4b5bda12041 (patch) | |
tree | 0e30216353d4a4b37343d33212a028377f4f673f /tests/closure | |
parent | 2162a71c9314ed8bba7a8b9926e2d9637f7c6825 (diff) | |
download | Nim-307a6095fa69104e3b21aa796095f4b5bda12041.tar.gz |
made closure iterators tests green, updated docs
Diffstat (limited to 'tests/closure')
-rw-r--r-- | tests/closure/tjester.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/closure/tjester.nim b/tests/closure/tjester.nim index 3bd10120a..84e0fcb71 100644 --- a/tests/closure/tjester.nim +++ b/tests/closure/tjester.nim @@ -7,7 +7,7 @@ type data: T callback: proc () {.closure.} -proc cbOuter(response: string) {.closure, discardable.} = +proc cbOuter(response: string) {.discardable.} = iterator cbIter(): Future[int] {.closure.} = for i in 0..7: proc foo(): int = |