summary refs log tree commit diff stats
path: root/lib/system/avltree.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-09-24 02:52:16 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-09-24 02:52:16 +0200
commitffb812521da02f19c05452b9498615159d53557d (patch)
tree8caf74e20a5fc4c29938205ad54f059634fe1631 /lib/system/avltree.nim
parent2569a58f0859c5a6335ddea88f3752bcc2238d45 (diff)
downloadNim-ffb812521da02f19c05452b9498615159d53557d.tar.gz
fixes serious regression
Diffstat (limited to 'lib/system/avltree.nim')
-rw-r--r--lib/system/avltree.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/avltree.nim b/lib/system/avltree.nim
index 892ee571d..50faada26 100644
--- a/lib/system/avltree.nim
+++ b/lib/system/avltree.nim
@@ -52,7 +52,7 @@ proc split(t: var PAvlNode) =
     inc t.level
 
 proc add(a: var MemRegion, t: var PAvlNode, key, upperBound: int) {.benign.} =
-  if t == bottom:
+  if t.isBottom:
     t = allocAvlNode(a, key, upperBound)
   else:
     if key <% t.key: