+ - inhale Moose roles before checking for composition conflicts
- enable Moo::sification if only Moo::Role is loaded and not Moo
- preserve attribute ordering
- factor out accessor generation code a bit more to enable extension
}
}
+sub apply_roles_to_package {
+ my ($me, $to, @roles) = @_;
+ $me->_inhale_if_moose($_) for @roles;
+ $me->SUPER::apply_roles_to_package($to, @roles);
+}
+
sub apply_single_role_to_package {
my ($me, $to, $role) = @_;
$me->_inhale_if_moose($role);