Adjust the error message for Moose::Role::extends so that it doesn't explicitly menti...
Shawn M Moore [Tue, 17 Jun 2008 02:35:28 +0000 (02:35 +0000)]
lib/Moose/Role.pm

index 6883cd2..37eb300 100644 (file)
@@ -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 {