conflicts generate different, more instructive, errors,
resolving Ovid's #44895. (Sartak)
+ * Moose::Role
+ - Improve the error message of "extends" as suggested by Adam
+ Kennedy and confound (Sartak)
+
* Tests
- Update test suite for subname change in Class::MOP
(nothingmuch)
use Moose::Util::TypeConstraints;
sub extends {
- croak "Roles do not currently support 'extends'";
+ croak "Roles do not support 'extends' (you can use 'with' to specialize a role)";
}
sub with {