Hi,

added a failing test case at topic/m-exporter-metaclass_roles-bug

This code:

  Moose::Exporter->setup_import_methods(
    metaclass_roles => ['MyTraitWithAttr'],
    also => 'Moose',
  );

fails to apply the MyTraitWithAttr. The generated init_meta bails out because the $options{for_class} lacks a meta() at that point.

My Moose-fo is not enough to know how to make meta() appear.

Bye,

Reply via email to