Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dzil install fails under Perl 5.18.1 #3

Open
mjdominus opened this issue Dec 20, 2013 · 1 comment
Open

dzil install fails under Perl 5.18.1 #3

mjdominus opened this issue Dec 20, 2013 · 1 comment

Comments

@mjdominus
Copy link
Contributor

The test suite fails catastrophically. When I run perl -Ilib t/collections/basic.t, Perl reports

Due to method name conflicts in roles 'Moose::Meta::Role::__ANON__::SERIAL::15' and 'Stick::Role::Collection::CanFilter', the methods 'ArrayRef' and 'is_ArrayRef' must be implemented or excluded by 'Stick::Class::BookCollection::Stick_Role_Collection_Pageable::Stick_Role_Collection_Mutable::Stick_Role_Collection_CanFilter::t_lib_LibraryExtras

Complete error output

perl -V output

@mjdominus
Copy link
Contributor Author

This appears to be because Stick::Role::Collection::HasFilters imports ArrayRef and CodeRef from MooseX::Types::Moose and then lets them hang around again afterward. Sticking in use namespace::clean fixes this problem. I will prepare a patch shortly.

mjdominus added a commit to mjdominus/stick that referenced this issue Dec 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant