Skip to content

Commit

Permalink
Ref defaults need to be wrapped in subs.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafl committed Dec 28, 2009
1 parent f2984a5 commit 8cbdec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MooseX/MethodAttributes/Role/Meta/Role.pm
Expand Up @@ -54,7 +54,7 @@ with qw/
/;

has '+composition_class_roles' => (
default => [ 'MooseX::MethodAttributes::Role::Meta::Role::Application::Summation' ],
default => sub { [ 'MooseX::MethodAttributes::Role::Meta::Role::Application::Summation' ] },
);

=method initialize
Expand Down

0 comments on commit 8cbdec0

Please sign in to comment.