} @type_constraints;
return {
- '$meta' => \$self,
((any { defined && $_->has_initializer } @$attrs)
? ('$attrs' => \$attrs)
: ()),
'@type_constraint_bodies' => \@type_constraint_bodies,
( map { defined($_) ? %{ $_->inline_environment } : () }
@type_constraints ),
+ # pretty sure this is only going to be closed over if you use a custom
+ # error class at this point, but we should still get rid of this
+ # at some point
+ '$meta' => \($self->associated_metaclass),
};
}