From: Shawn M Moore Date: Sun, 3 May 2009 21:37:12 +0000 (-0400) Subject: Remove dated comment X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0e9d2f3d0d627a4f775a4a397b5bebd0f592e5b6;p=gitmo%2FPerl-Critic-Dynamic-Moose.git Remove dated comment --- diff --git a/lib/Perl/Critic/Policy/DynamicMoose/ClassOverridesRole.pm b/lib/Perl/Critic/Policy/DynamicMoose/ClassOverridesRole.pm index f7350fb..94b19dd 100644 --- a/lib/Perl/Critic/Policy/DynamicMoose/ClassOverridesRole.pm +++ b/lib/Perl/Critic/Policy/DynamicMoose/ClassOverridesRole.pm @@ -25,8 +25,6 @@ sub violates_metaclass { my $method_object = $class->get_method($method) or next; - # no metadata, should check source role to make sure it's the - # same as $role if ($method_object->isa('Moose::Meta::Role::Method')) { next if $method_object->original_package_name eq $role->name; }