Further information: if you put nqp::decont($!a).^compose it works. On Wed, Jul 6, 2016 at 4:26 AM Nicholas Clark <n...@ccl4.org> wrote:
> On Fri, Jul 01, 2016 at 10:36:25PM -0700, Lloyd Fournier wrote: > > > class Foo { has $.a = Metamodel::ClassHOW.new_type(name => "Bar"); method > > comp { $!a.^compose } }; > > my $obj = Foo.new; > > $obj.comp; > > say $obj; > > When I run that, I get this: > > moar: src/gc/roots.c:245: MVM_gc_root_gen2_add: Assertion `!(c->flags & > MVM_CF_FORWARDER_VALID)' failed. > Aborted > > (I wasn't paying close attention, but I guess I built with full-on > debugging > flags) > > I hope that makes it more obvious to someone how to fix this. > > Nicholas Clark >