);
Class::MOP::Package->meta->add_attribute(
+ Class::MOP::Attribute->new('_methods' => (
+ reader => {
+ # NOTE:
+ # we just alias the original method
+ # rather than re-produce it here
+ '_full_method_map' => \&Class::MOP::Package::_full_method_map
+ },
+ default => sub { {} }
+ ))
+);
+
+Class::MOP::Package->meta->add_attribute(
Class::MOP::Attribute->new('method_metaclass' => (
reader => {
# NOTE:
use strict;
use warnings;
-use Test::More tests => 300;
+use Test::More tests => 302;
use Test::Exception;
use Class::MOP;
'namespace',
'method_metaclass',
'wrapped_method_metaclass',
+ '_methods',
);
my @class_mop_module_attributes = (