make tests green again

This commit is contained in:
Andreas Rumpf 2018-07-05 19:14:18 +02:00
commit ae82406c8b
13 changed files with 18 additions and 17 deletions

View file

@ -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