summary refs log tree commit diff stats
path: root/tests/closure
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-01-03 21:16:07 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-01-03 21:16:07 +0100
commit813f98fb342418606f82a082373636137b811bae (patch)
treec07c795e40e5667d763611a8067978d9ab6b15ff /tests/closure
parent1ad69be98863aa6f73ec205dee8c0a344a337adb (diff)
downloadNim-813f98fb342418606f82a082373636137b811bae.tar.gz
further progress on closure iterators; tforum still failing
Diffstat (limited to 'tests/closure')
-rw-r--r--tests/closure/tinvalidclosure.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/closure/tinvalidclosure.nim b/tests/closure/tinvalidclosure.nim
index c9136a736..d3f38cde5 100644
--- a/tests/closure/tinvalidclosure.nim
+++ b/tests/closure/tinvalidclosure.nim
@@ -1,9 +1,9 @@
 discard """
   line: 12
-  errormsg: "type mismatch: got (proc (x: int){.closure, gcsafe, locks: 0.})"
+  errormsg: "type mismatch: got (proc (x: int){.gcsafe, locks: 0.})"
 """
 
-proc ugh[T](x: T) {.closure.} =
+proc ugh[T](x: T) {.nimcall.} =
   echo "ugha"