parent
6f3476d39c
commit
41555ca86f
3 changed files with 15 additions and 3 deletions
|
|
@ -4,8 +4,11 @@ discard """
|
|||
target: "c"
|
||||
joinable: false
|
||||
disabled: 32bit
|
||||
cmd: "nim c --gc:arc $file"
|
||||
"""
|
||||
|
||||
# bug #13110: This test failed with --gc:arc.
|
||||
|
||||
# this test wasn't written for 32 bit
|
||||
# don't join because the code is too messy.
|
||||
|
||||
|
|
@ -527,7 +530,7 @@ proc findLeaf[M, D: Dim; RT, LT](t: RTree[M, D, RT, LT]; leaf: L[D, RT, LT]): Le
|
|||
proc condenseTree[M, D: Dim; RT, LT](t: RTree[M, D, RT, LT]; leaf: Leaf[M, D, RT, LT]) =
|
||||
var n: H[M, D, RT, LT] = leaf
|
||||
var q = newSeq[H[M, D, RT, LT]]()
|
||||
var b: type(leaf.a[0].b)
|
||||
var b: typeof(leaf.a[0].b)
|
||||
while n != t.root:
|
||||
let p = Node[M, D, RT, LT](n.parent)
|
||||
var i = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue