On Tue, 3 May 2011, Ben Tilly wrote:
Looking inside of Moose::Exporter::_make_init_meta I see the following section of code that should set up the role:Moose::Util::MetaRole::apply_base_class_roles( for_class => $options{for_class}, %base_class_roles, ) if Class::MOP::class_of( $options{for_class} ) ->isa('Moose::Meta::Class'); I have no idea why that inline if is there, but it seems to be preventing Moose from working like the documentation lead me to expect it would.
The main reason this is there, from what I recall, is so we don't try to apply these base class roles to your roles.
A role doesn't have a base class, so there's no way to apply these types of roles to it.
-dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
