From: Jesse Luehrs <doy@tozt.net>
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.21~6
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7559ee5b95c7612eb37fe11698deea0813ca53f6;p=gitmo%2FMoose.git

MMR::Attribute is a metaclass, it needs to inherit from CMOP::Object
(cherry picked from commit be83e895234d0176fa7d2597252f9f3b301490f3)
---

diff --git a/lib/Moose/Meta/Role/Attribute.pm b/lib/Moose/Meta/Role/Attribute.pm
index abb1c4f..25e76dd 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.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' => (