summary refs log tree commit diff stats
path: root/tests/closure
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-07-05 19:14:18 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-07-05 19:14:18 +0200
commitae82406c8b7bd1239416b1e6caed34161c133e94 (patch)
tree54a745fbd3c659bb0bbaae1c3f3682b1ea8275b0 /tests/closure
parent0926754e68861947c67986bc9c7e0a011a58267b (diff)
downloadNim-ae82406c8b7bd1239416b1e6caed34161c133e94.tar.gz
make tests green again
Diffstat (limited to 'tests/closure')
-rw-r--r--tests/closure/tclosurebug2.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/closure/tclosurebug2.nim b/tests/closure/tclosurebug2.nim
index f131406a3..5f8911dfa 100644
--- a/tests/closure/tclosurebug2.nim
+++ b/tests/closure/tclosurebug2.nim
@@ -54,7 +54,7 @@ proc len*[A, B](t: TOrderedTable[A, B]): int {.inline.} =
   ## returns the number of keys in `t`.
   result = t.counter
 
-template forAllOrderedPairs(yieldStmt: stmt) {.dirty, immediate.} =
+template forAllOrderedPairs(yieldStmt: untyped) {.dirty.} =
   var h = t.first
   while h >= 0:
     var nxt = t.data[h].next