associated_class in Moose::Util::MetaRole attribute_metaclass_role not returning consuming class

2009-07-03 Thread Mark Morgan
Heya folks, Sorry in-advance for the long post, but it's the minimal amount of code that I could demonstrate this issue... When creating a new MooseX extension, within a rolled-in attribute, I'm unable to use associated_class method to get the consuming class (well, it succeeds, but returns

MX modules which warn with recent Mooses

2009-07-03 Thread Dave Rolsky
These modules spit out warnings in their test suite with the most recent release of Moose. For many of them, the fix will be to actually change their attribute metaclass to have proper attributes for any new options they accept. Others may need an - is = 'bare' MooseX::App::Cmd

Re: associated_class in Moose::Util::MetaRole attribute_metaclass_role not returning consuming class

2009-07-03 Thread Hans Dieter Pearcey
On Sat, Jul 04, 2009 at 12:31:35AM +0100, Mark Morgan wrote: In my case, I'm attempting to ensure that only a single attribute is marked as 'asdf' for a given class. The specified attribute would be treated specially during constuction package My::Meta::Attribute::Trait::Highlander; use