diff options
author | Araq <rumpf_a@web.de> | 2015-02-11 17:42:28 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-02-12 14:56:56 +0100 |
commit | 10335fd7264560e9b5a6ca4b2b5fe8e28e78209b (patch) | |
tree | ec008f73094727629bac6bc809a11b294f878371 /lib/pure/collections/tables.nim | |
parent | 4f00ae5a5afd0702a286a31f6bbdbdd8745be8c5 (diff) | |
download | Nim-10335fd7264560e9b5a6ca4b2b5fe8e28e78209b.tar.gz |
fixed minor bugs; cleaned up tests
Diffstat (limited to 'lib/pure/collections/tables.nim')
-rw-r--r-- | lib/pure/collections/tables.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/collections/tables.nim b/lib/pure/collections/tables.nim index 9dcc97148..671f767cf 100644 --- a/lib/pure/collections/tables.nim +++ b/lib/pure/collections/tables.nim @@ -347,7 +347,7 @@ proc `$`*[A, B](t: TableRef[A, B]): string = proc `==`*[A, B](s, t: TableRef[A, B]): bool = if isNil(s): result = isNil(t) elif isNil(t): result = false - else: result = equalsImpl() + else: equalsImpl() proc newTableFrom*[A, B, C](collection: A, index: proc(x: B): C): TableRef[C, B] = ## Index the collection with the proc provided. |