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

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