projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9663691
)
MMR::Attribute is a metaclass, it needs to inherit from CMOP::Object
Jesse Luehrs [Wed, 24 Nov 2010 20:43:57 +0000 (14:43 -0600)]
(cherry picked from commit
be83e895234d0176fa7d2597252f9f3b301490f3
)
lib/Moose/Meta/Role/Attribute.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Role/Attribute.pm
b/lib/Moose/Meta/Role/Attribute.pm
index
abb1c4f
..
25e76dd
100644
(file)
--- a/
lib/Moose/Meta/Role/Attribute.pm
+++ b/
lib/Moose/Meta/Role/Attribute.pm
@@
-10,7
+10,7
@@
use Scalar::Util 'blessed', 'weaken';
our $VERSION = '1.20';
our $AUTHORITY = 'cpan:STEVAN';
-use base 'Moose::Meta::Mixin::AttributeCore';
+use base 'Moose::Meta::Mixin::AttributeCore', 'Class::MOP::Object';
__PACKAGE__->meta->add_attribute(
'metaclass' => (