fixes recently introduced regression
This commit is contained in:
parent
15909c7be2
commit
d3c8f1ab25
1 changed files with 2 additions and 1 deletions
|
|
@ -798,7 +798,8 @@ proc genObjectInfo(m: BModule, typ: PType, name: PRope) =
|
|||
appf(m.s[cfsTypeInit3], "$1.node = &$2;$n", [name, tmp])
|
||||
var t = typ.sons[0]
|
||||
while t != nil:
|
||||
t.skipTypes(abstractInst).flags.incl tfObjHasKids
|
||||
t = t.skipTypes(abstractInst)
|
||||
t.flags.incl tfObjHasKids
|
||||
t = t.sons[0]
|
||||
|
||||
proc genTupleInfo(m: BModule, typ: PType, name: PRope) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue