On Nov 26, 2008, at 4:14 PM, Shawn M Moore via RT wrote:
Show quoted text> <URL:
http://rt.cpan.org/Ticket/Display.html?id=41250 >
>
>> On further inspection, it seems that calling
>> Mouse::Meta::Class::superclasses doesn't make any attempt to set
>> @ISA,
>> which means the Mouse version of 'extends' is a no-op...
>
> Hi Jason,
>
> Mouse::Meta::Class->{superclasses} is actually a reference to the
> class' @ISA (I set this in Mouse::Meta::Class::new). So when we say:
>
> @{ $self->{superclasses} } = @_;
>
> So it really is setting @ISA. We have quite a few tests that would
> break if superclasses weren't properly set.
>
Hmm, I must have missed that when looking through the code...
Show quoted text> If you can get me a failing test, I'd be happy to track down and fix
> the issue.
>
I'll go back through my code again and see if I can figure out what
might have been preventing the superclass from being set...
--
Jason Kohles, RHCA RHCDS RHCE
email@jasonkohles.com -
http://www.jasonkohles.com/
"A witty saying proves nothing." -- Voltaire