summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2014-04-18 21:50:51 +0100
committerDominik Picheta <dominikpicheta@googlemail.com>2014-04-18 21:50:51 +0100
commit00dc93b65b51e186b44485d9ae08daf9cef1d9ff (patch)
treeeed6bb3749cbe05342da822d165a6204e1b6f8ec /lib/pure
parent63d384d0cd758d8277b4742265e2c277de7a7c1c (diff)
downloadNim-00dc93b65b51e186b44485d9ae08daf9cef1d9ff.tar.gz
Fixes collections/ttables.
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/collections/tables.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/tables.nim b/lib/pure/collections/tables.nim
index 412bebeee..cd28f9af0 100644
--- a/lib/pure/collections/tables.nim
+++ b/lib/pure/collections/tables.nim
@@ -196,7 +196,7 @@ proc `==`*[A, B](s, t: TTable[A, B]): bool =
     # to use the slow route here:
     for key, val in s:
       if not hasKey(t, key): return false
-      if mget(t, key) != val: return false
+      if t[key] != val: return false
     return true
   
 proc indexBy*[A, B, C](collection: A, index: proc(x: B): C): TTable[C, B] =