Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 79987
Status: rejected
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: develop [...] traveljury.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.0604
Fixed in: (no value)



Subject: base_class_roles clobbered by extends
Download (untitled) / with headers
text/plain 218b
A role added to a class with Moose::Exporter->setup_import_methods( base_class_roles....) gets clobbered when the same class is extend'ed. See attached test case. Class Baz_3 should do role Foo::Role, but it doesn't
Subject: test.tar.gz
Download test.tar.gz
application/x-tar 514b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 178b
Apparently not a bug as using extends changes the base_class, so the role is expected not to be there. Suggested fix to my use case is to use init_meta to apply the role instead


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.