-- the make_immutable export is a degenerate version of this and it's causing problems with debugging if you forget to unimport it
$class->meta->add_augment_method_modifier( $name => $method );
};
},
+ metaclass => sub {
+ my $class = $CALLER;
+ return subname 'Moose::metaclass' => sub {
+ $class->meta;
+ };
+ },
make_immutable => sub {
my $class = $CALLER;
return subname 'Moose::make_immutable' => sub {