Moose
- fixed some details in Moose::init_meta
and its superclass handling (thanks thepler)
- added tests for this (thanks thepler)
- 'has' now dies if you don't pass in name
value pairs
- added the 'make_immutable' keyword as a shortcut
to make_immutable
- fixed some details in Moose::init_meta
Moose::Meta::Class
Moose::Meta::Method::Constructor
Moose::Meta::Attribute- making (init_arg => undef) work here too
(thanks to nothingmuch)
- making (init_arg => undef) work here too
Moose::Meta::Attribute
Moose::Meta::Method::Constructor
Moose::Meta::Method::Accessor- make lazy attributes respect attr initializers (rjbs)
- added tests for this
- make lazy attributes respect attr initializers (rjbs)
Moose::Util::TypeConstraints
Moose::Util::TypeConstraints::OptimizedConstraints
Moose::Meta::TypeConstraints
Moose::Meta::Attribute
Moose::Meta::Method::Constructor
Moose::Meta::Method::Accessor- making type errors use the
assigned message (thanks to Sartak)
- added tests for this
- making type errors use the
Moose::Meta::Method::Destructor
- making sure DESTROY gets inlined properly
with successive DEMOLISH calls (thanks to manito)
- making sure DESTROY gets inlined properly
Moose::Meta::Attribute
Moose::Meta::Method::Accessor- fixed handling of undef with type constraints
(thanks to Ernesto)
- added tests for this
- fixed handling of undef with type constraints
Moose::Util
- added &get_all_init_args and &get_all_attribute_values
(thanks to Sartak and nothingmuch)
- added &get_all_init_args and &get_all_attribute_values