Created
August 22, 2011 17:22
-
-
Save sartak/1162952 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ perl -MCarp::Always -MMoose -E 'package R; use Moose::Role; package C; use Moose; has attr => (is => "ro", traits => [R => { foo => 1 }])' | |
| Roles with parameters cannot be cached. Consider applying the parameters before calling create_anon_class, or using 'weaken => 0' instead at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose/Meta/Class.pm line 145 | |
| Moose::Meta::Class::_anon_cache_key('Moose::Meta::Class', 'roles', 'ARRAY(0x100b75ca8)', 'weaken', '', 'superclasses', 'ARRAY(0x100b78210)') called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Class/MOP/Package.pm line 109 | |
| Class::MOP::Package::create_anon('Moose::Meta::Class', 'superclasses', 'ARRAY(0x100b78210)', 'roles', 'ARRAY(0x100b75ca8)', 'cache', 1) called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Class/MOP/Class.pm line 473 | |
| Class::MOP::Class::create_anon_class('Moose::Meta::Class', 'superclasses', 'ARRAY(0x100b78210)', 'roles', 'ARRAY(0x100b75ca8)', 'cache', 1) called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose/Meta/Attribute.pm line 155 | |
| Moose::Meta::Attribute::interpolate_class('Moose::Meta::Attribute', 'HASH(0x100a85ed8)') called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose/Meta/Attribute.pm line 112 | |
| Moose::Meta::Attribute::interpolate_class_and_new('Moose::Meta::Attribute', 'attr', 'definition_context', 'HASH(0x100985db8)', 'is', 'ro', 'traits', 'ARRAY(0x100827360)') called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose/Meta/Class.pm line 704 | |
| Moose::Meta::Class::_process_new_attribute('Moose::Meta::Class=HASH(0x100b6d720)', 'attr', 'definition_context', 'HASH(0x100985db8)', 'is', 'ro', 'traits', 'ARRAY(0x100827360)') called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose/Meta/Class.pm line 697 | |
| Moose::Meta::Class::_process_attribute('Moose::Meta::Class=HASH(0x100b6d720)', 'attr', 'definition_context', 'HASH(0x100985db8)', 'is', 'ro', 'traits', 'ARRAY(0x100827360)') called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose/Meta/Class.pm line 566 | |
| Moose::Meta::Class::add_attribute('Moose::Meta::Class=HASH(0x100b6d720)', 'attr', 'definition_context', 'HASH(0x100985db8)', 'is', 'ro', 'traits', 'ARRAY(0x100827360)') called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose.pm line 77 | |
| Moose::has('Moose::Meta::Class=HASH(0x100b6d720)', 'attr', 'is', 'ro', 'traits', 'ARRAY(0x100827360)') called at /Users/sartak/.perl/perls/perl-5.14.1/lib/site_perl/5.14.1/darwin-2level/Moose/Exporter.pm line 356 | |
| Moose::has('attr', 'is', 'ro', 'traits', 'ARRAY(0x100827360)') called at -e line 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment