summary refs log tree commit diff stats
path: root/tests/closure
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-12-31 00:16:38 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-12-31 00:16:38 +0100
commit307a6095fa69104e3b21aa796095f4b5bda12041 (patch)
tree0e30216353d4a4b37343d33212a028377f4f673f /tests/closure
parent2162a71c9314ed8bba7a8b9926e2d9637f7c6825 (diff)
downloadNim-307a6095fa69104e3b21aa796095f4b5bda12041.tar.gz
made closure iterators tests green, updated docs
Diffstat (limited to 'tests/closure')
-rw-r--r--tests/closure/tjester.nim2
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 =