X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FRunnable%2FInvocation.pm;h=c1a2a1af613491635d9e69432adf7622bf9249b3;hb=00d7989a23f3ed99dcf5b3a58f0843cd9d47115a;hp=a8fb57bb6a06a2fd83ef196fdffa5ca7956fd257;hpb=6a06028aab89974506f1bccaf7ac11a9ebfaecc7;p=gitmo%2FMooseX-Runnable.git diff --git a/lib/MooseX/Runnable/Invocation.pm b/lib/MooseX/Runnable/Invocation.pm index a8fb57b..c1a2a1a 100644 --- a/lib/MooseX/Runnable/Invocation.pm +++ b/lib/MooseX/Runnable/Invocation.pm @@ -93,7 +93,7 @@ sub validate_class { my @bad_attributes = map { $_->name } grep { $_->is_required && $_->has_default || $_->has_builder - } $class->compute_all_applicable_attributes; + } $class->get_all_attributes; confess 'By default, MooseX::Runnable calls the constructor with no'.