From: Dave Rolsky Date: Fri, 16 Sep 2011 15:44:52 +0000 (-0500) Subject: Fix odd indentation X-Git-Tag: 2.0300~61 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d28cfa1a0c4195d4495edd9018875cb6746324a0;p=gitmo%2FMoose.git Fix odd indentation --- diff --git a/lib/Moose/Meta/Attribute.pm b/lib/Moose/Meta/Attribute.pm index 7f35161..e97a5df 100644 --- a/lib/Moose/Meta/Attribute.pm +++ b/lib/Moose/Meta/Attribute.pm @@ -1084,8 +1084,10 @@ sub install_delegation { my $class_name = $associated_class->name; my $name = "${class_name}::${handle}"; - (!$associated_class->has_method($handle)) - || $self->throw_error("You cannot overwrite a locally defined method ($handle) with a delegation", method_name => $handle); + ( !$associated_class->has_method($handle) ) + || $self->throw_error( + "You cannot overwrite a locally defined method ($handle) with a delegation", + method_name => $handle ); # NOTE: # handles is not allowed to delegate