- fix to make sure even Class::MOP attributes
are handled correctly (Thanks to Dave Rolsky)
- added test for this (also Dave Rolsky)
+
+ * Moose::Meta::Class
+ - improved error message on _apply_all_roles,
+ you should now use Moose::Util::apply_all_roles
+ and you shouldnt have been using a _ prefixed
+ method in the first place ;)
0.34 Mon. Jan. 21, 2008
~~~ more misc. doc. fixes ~~~
use Carp 'confess';
use Scalar::Util 'weaken', 'blessed', 'reftype';
-our $VERSION = '0.17';
+our $VERSION = '0.18';
our $AUTHORITY = 'cpan:STEVAN';
use Moose::Meta::Method::Overriden;
# this was crap anyway, see
# Moose::Util::apply_all_roles
# instead
-sub _apply_all_roles { die "DEPRECATED" }
+sub _apply_all_roles {
+ die 'DEPRECATED: use Moose::Util::apply_all_roles($meta, @roles) instead'
+}
my %ANON_CLASSES;