From: Shawn M Moore Date: Tue, 17 Jun 2008 02:35:28 +0000 (+0000) Subject: Adjust the error message for Moose::Role::extends so that it doesn't explicitly menti... X-Git-Tag: 0_55~110 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=685c7facfe215f574141b283c5e07db26a05e01d;p=gitmo%2FMoose.git Adjust the error message for Moose::Role::extends so that it doesn't explicitly mention Moose::Role --- diff --git a/lib/Moose/Role.pm b/lib/Moose/Role.pm index 6883cd2..37eb300 100644 --- a/lib/Moose/Role.pm +++ b/lib/Moose/Role.pm @@ -49,7 +49,7 @@ use Moose::Util::TypeConstraints; extends => sub { my $meta = _find_meta(); return Class::MOP::subname('Moose::Role::extends' => sub { - croak "Moose::Role does not currently support 'extends'" + croak "Roles do not currently support 'extends'" }); }, with => sub {