From: Jesse Luehrs Date: Fri, 8 Oct 2010 01:37:58 +0000 (-0500) Subject: this gives class attributes to the metaclass, which isn't what we want X-Git-Tag: 0.12~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=044584cf18a02b16693523be3a65afcf35470e5c;hp=5adf1fad4eddd692bba83d6d2b1348a72f9ed17e;p=gitmo%2FMooseX-AlwaysCoerce.git this gives class attributes to the metaclass, which isn't what we want this actually triggers an edge case bug in metaclass compat, so it's probably better to just remove it, since it's not actually necessary. --- diff --git a/lib/MooseX/AlwaysCoerce.pm b/lib/MooseX/AlwaysCoerce.pm index 66bb1e9..a4ccc9b 100644 --- a/lib/MooseX/AlwaysCoerce.pm +++ b/lib/MooseX/AlwaysCoerce.pm @@ -70,7 +70,6 @@ Use C<< coerce => 0 >> to disable a coercion explicitly. use namespace::autoclean; use Moose::Role; use Moose::Util::TypeConstraints; - use MooseX::ClassAttribute; around add_class_attribute => sub { my $next = shift;