mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-26 01:04:00 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user