fixes recently introduced regression

This commit is contained in:
Araq
2014-06-12 16:35:53 +02:00
parent 15909c7be2
commit d3c8f1ab25

View File

@@ -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) =