X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAttributeHelpers%2FBase.pm;h=9e6113b483a38f1f4efee0cbb949ad0568232acf;hb=8c651099f4d73825057940d246f69f2eb63e1e7c;hp=3d13d16ec29f588cb3c42e266bb0cab8fcf25591;hpb=565fe2381a5f4c86660f0d2040ec9ebe7f7548b9;p=gitmo%2FMooseX-AttributeHelpers.git diff --git a/lib/MooseX/AttributeHelpers/Base.pm b/lib/MooseX/AttributeHelpers/Base.pm index 3d13d16..9e6113b 100644 --- a/lib/MooseX/AttributeHelpers/Base.pm +++ b/lib/MooseX/AttributeHelpers/Base.pm @@ -36,7 +36,7 @@ sub process_options_for_provides { (exists $options->{isa}) || confess "You must define a type with the $type metaclass"; - my $isa = $options->{isa}; + my $isa = $options->{isa}; unless (blessed($isa) && $isa->isa('Moose::Meta::TypeConstraint')) { $isa = find_type_constraint($isa); @@ -45,9 +45,6 @@ sub process_options_for_provides { ($isa->is_a_type_of($type)) || confess "The type constraint for a $type ($options->{isa}) must be a subtype of $type"; } - - # this can be augmented by subclasses .. - inner(); } before '_process_options' => sub {