xo-expression2: streamline TypeRef + DSequenceExpr forwarding

This commit is contained in:
Roland Conybeare 2026-03-28 13:58:06 -04:00
commit 53223b38ff
2 changed files with 3 additions and 10 deletions

View file

@ -135,11 +135,7 @@ namespace xo {
{
typeref_.forward_children(gc);
{
//auto iface = facet::impl_for<AGCObject,DArray>();
//gc.forward_inplace(&iface, (void**)&expr_v_);
gc.forward_inplace(&expr_v_);
}
gc.forward_inplace(&expr_v_);
return this->shallow_size();
}

View file

@ -104,12 +104,9 @@ namespace xo {
void
TypeRef::forward_children(obj<ACollector> gc) noexcept
{
gc.forward_pivot_inplace(&type_);
//scope log(XO_DEBUG(true), xtag("type", type_.data()), xtag("type.tseq", type_._typeseq()));
//if (type_) {
// auto e = FacetRegistry::instance().variant<AGCObject,AType>(type_);
// gc.forward_inplace(e.iface(), (void **)&(type_.data_));
//}
gc.forward_pivot_inplace(&type_);
}
bool