+ - guard _accessor_maker_for calls in Moo::Role in case Moo isn't loaded
+ - reset handlemoose state on mutation in case somebody reified the
+ metaclass too early
+
0.091003 - 2012-05-06
- improve attribute option documentation
- update the incompatibilities section since we're less incompatible now
my ($self, $role, $target) = @_;
my $m;
if ($INFO{$role}{inhaled_from_moose}
- or $m = Moo->_accessor_maker_for($target)
+ or $INC{"Moo.pm"}
+ and $m = Moo->_accessor_maker_for($target)
and ref($m) ne 'Method::Generate::Accessor') {
$self->_make_accessors($role, $target);
}
$me->_inhale_if_moose($_) for @roles;
my $m;
- if ($m = Moo->_accessor_maker_for($superclass)
+ if ($INC{"Moo.pm"}
+ and $m = Moo->_accessor_maker_for($superclass)
and ref($m) ne 'Method::Generate::Accessor') {
# old fashioned way time.
*{_getglob("${new_name}::ISA")} = [ $superclass ];