xo-expression2: DLambdaExpr: bugfix: GC suport for body_expr_

Was using &body_expr_ instead of &body_expr_.data_.
Replace with less dangerous forward_pivot_inplace() convenience call
This commit is contained in:
Roland Conybeare 2026-03-28 13:12:36 -04:00
commit 34c87dc1e6

View file

@ -169,8 +169,9 @@ namespace xo {
}
{
auto iface = body_expr_.to_facet<AGCObject>().iface();
gc.forward_inplace(iface, (void **)(&body_expr_));
gc.forward_pivot_inplace(&body_expr_);
//auto iface = body_expr_.to_facet<AGCObject>().iface();
//gc.forward_inplace(iface, (void **)&(body_expr_.data_));
}
// xxx free_var_set