make tests green again
This commit is contained in:
parent
c38a608c90
commit
9364369c1f
9 changed files with 34 additions and 25 deletions
|
|
@ -216,7 +216,8 @@ proc liftBodyAux(c: var TLiftCtx; t: PType; body, x, y: PNode) =
|
|||
if c.c.config.selectedGC == gcDestructors:
|
||||
discard considerOverloadedOp(c, t, body, x, y)
|
||||
elif tfHasAsgn in t.flags:
|
||||
body.add newSeqCall(c.c, x, y)
|
||||
if c.kind != attachedDestructor:
|
||||
body.add newSeqCall(c.c, x, y)
|
||||
let i = declareCounter(c, body, firstOrd(c.c.config, t))
|
||||
let whileLoop = genWhileLoop(c, i, x)
|
||||
let elemType = t.lastSon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue