mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 14:25:23 +00:00
fixes serious regression
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user