Subject: | requires new version of MooseX::Aliases |
I had MooseX::Aliases > 0.03, but not the latest greatest and the tests
failed with, e.g.
The method '_generate_slot_initializer' was not found in the inheritance
hierarchy for Moose::Meta::Class::__ANON__::SERIAL::2 at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Class/MOP/Class.pm line
1048
Class::MOP::Class::__ANON__('Moose::Meta::Class=HASH(0x87f2690)',
'_generate_slot_initializer') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Class/MOP/Class.pm line
1093
Class::MOP::Class::add_around_method_modifier('Moose::Meta::Class=HASH(0
x87f2690)', '_generate_slot_initializer', 'CODE(0x87f81d0)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-
linux/Moose/Meta/Role/Application/ToClass.pm line 224
Moose::Meta::Role::Application::ToClass::apply_method_modifiers('Moose::
Meta::Role::Application::ToClass=HASH(0x87ceba8)', 'around',
'Moose::Meta::Role=HASH(0x87f87b0)',
'Moose::Meta::Class=HASH(0x87f2690)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-
linux/Moose/Meta/Role/Application.pm line 78
Moose::Meta::Role::Application::apply_around_method_modifiers('Moose::Me
ta::Role::Application::ToClass=HASH(0x87ceba8)',
'Moose::Meta::Role=HASH(0x87f87b0)',
'Moose::Meta::Class=HASH(0x87f2690)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-
linux/Moose/Meta/Role/Application.pm line 64
Moose::Meta::Role::Application::apply('Moose::Meta::Role::Application::T
oClass=HASH(0x87ceba8)', 'Moose::Meta::Role=HASH(0x87f87b0)',
'Moose::Meta::Class=HASH(0x87f2690)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-
linux/Moose/Meta/Role/Application/ToClass.pm line 35
Moose::Meta::Role::Application::ToClass::apply('Moose::Meta::Role::Appli
cation::ToClass=HASH(0x87ceba8)', 'Moose::Meta::Role=HASH(0x87f87b0)',
'Moose::Meta::Class=HASH(0x87f2690)', 'HASH(0x87f2390)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Meta/Role.pm line
470
Moose::Meta::Role::apply('Moose::Meta::Role=HASH(0x87f87b0)',
'Moose::Meta::Class=HASH(0x87f2690)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Util.pm line 159
Moose::Util::_apply_all_roles('Moose::Meta::Class=HASH(0x87f2690)',
undef, 'MooseX::Aliases::Meta::Trait::Constructor') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Util.pm line 98
Moose::Util::apply_all_roles('Moose::Meta::Class=HASH(0x87f2690)',
'MooseX::Aliases::Meta::Trait::Constructor') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Meta/Class.pm
line 104
Moose::Meta::Class::create('Moose::Meta::Class',
'Moose::Meta::Class::__ANON__::SERIAL::2', 'roles', 'ARRAY(0x87c6e90)',
'weaken', '', 'superclasses', 'ARRAY(0x87c7010)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Class/MOP/Package.pm
line 121
Class::MOP::Package::create_anon('Moose::Meta::Class',
'superclasses', 'ARRAY(0x87c7010)', 'roles', 'ARRAY(0x87c6e90)',
'cache', 1) called at /usr/local/lib/perl5/site_perl/5.12.3/i686-
linux/Class/MOP/Class.pm line 473
Class::MOP::Class::create_anon_class('Moose::Meta::Class',
'superclasses', 'ARRAY(0x87c7010)', 'roles', 'ARRAY(0x87c6e90)',
'cache', 1) called at /usr/local/lib/perl5/site_perl/5.12.3/i686-
linux/Moose/Util/MetaRole.pm line 134
Moose::Util::MetaRole::_make_new_class('Moose::Meta::Method::Constructor
', 'ARRAY(0x87c6e90)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Util/MetaRole.pm
line 95
Moose::Util::MetaRole::_make_new_metaclass('Moose::Meta::Class=HASH(0x87
b06a0)', 'HASH(0x87c6f20)', 'class') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Util/MetaRole.pm
line 28
Moose::Util::MetaRole::apply_metaroles('for',
'Graphics::Color::RGB', 'class_metaroles', 'HASH(0x87c6f20)') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Exporter.pm line
624
Moose::Exporter::__ANON__('MooseX::Aliases', 'for_class',
'MooseX::Aliases::Meta::Trait::Constructor', 'metaclass', undef,
'meta_name', 'meta') called at
/usr/local/lib/perl5/site_perl/5.12.3/i686-linux/Moose/Exporter.pm line
420
Moose::Exporter::__ANON__('MooseX::Aliases') called at
/home/dsadinoff/.cpan/build/Graphics-Color-0.28-
jT4iGQ/blib/lib/Graphics/Color/RGB.pm line 3
Graphics::Color::RGB::BEGIN() called at
/usr/local/lib/perl5/site_perl/5.10.0/MooseX/Aliases.pm line 3
eval {...} called at
/usr/local/lib/perl5/site_perl/5.10.0/MooseX/Aliases.pm line 3
require Graphics/Color/RGB.pm called at t/11-color-library.t
line 5
updating to MooseX::Aliases 0.10 fixed it.