xo-expression2: streamline TypeRef + DSequenceExpr forwarding
This commit is contained in:
parent
2c14d410de
commit
53223b38ff
2 changed files with 3 additions and 10 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue