Also see Moose::Manual::Delta for more details of, and workarounds
for, noteworthy changes.
+ [BUG FIXES]
+
+ * Fixed a minor metaclass compatibility fixing bug dealing with immutable
+ classes and non-class metaclass traits (doy, dougdude).
+
1.06 Tue, Jun 01, 2010
[NEW FEATURES]
|| confess "Can't fix metaclass incompatibility for "
. $self->name
. " because it is not pristine.";
+ my $super_meta_name = $super_meta->_real_ref_name;
my $class_specific_meta_subclass_meta = $self->_reconcile_roles_for_metaclass($self->$metaclass_type, $super_meta->$metaclass_type);
my $new_self = $super_meta->reinitialize(
$self->name,
$metaclass_type => $class_specific_meta_subclass_meta->name,
);
- $self->_replace_self( $new_self, blessed($super_meta) );
+ $self->_replace_self( $new_self, $super_meta_name );
}
}