From: Jesse Luehrs Date: Wed, 24 Nov 2010 20:43:57 +0000 (-0600) Subject: MMR::Attribute is a metaclass, it needs to inherit from CMOP::Object X-Git-Tag: 1.9900~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=be83e895234d0176fa7d2597252f9f3b301490f3;p=gitmo%2FMoose.git MMR::Attribute is a metaclass, it needs to inherit from CMOP::Object --- diff --git a/lib/Moose/Meta/Role/Attribute.pm b/lib/Moose/Meta/Role/Attribute.pm index dd6496e..a7404ce 100644 --- 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.9900'; our $AUTHORITY = 'cpan:STEVAN'; -use base 'Moose::Meta::Mixin::AttributeCore'; +use base 'Moose::Meta::Mixin::AttributeCore', 'Class::MOP::Object'; __PACKAGE__->meta->add_attribute( 'metaclass' => (