X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FAttribute.pm;fp=lib%2FMouse%2FMeta%2FAttribute.pm;h=8abdd14cb0c4f808ca1f14e0ffa01aec7b3c2120;hp=b41c0755739cda76b1c679d8179ee63f9bbcd7d6;hb=a7d31de0432311c5a32a081dfdba694feb7c695d;hpb=c8c1aeafc0aadddad72f8b4d53b0876850151869 diff --git a/lib/Mouse/Meta/Attribute.pm b/lib/Mouse/Meta/Attribute.pm index b41c075..8abdd14 100644 --- a/lib/Mouse/Meta/Attribute.pm +++ b/lib/Mouse/Meta/Attribute.pm @@ -262,6 +262,7 @@ sub create { if($associated_methods == 0 && $is_metadata ne 'bare'){ Carp::cluck(qq{Attribute ($name) of class }.$class->name.qq{ has no associated methods (did you mean to provide an "is" argument?)}); + } return $attribute;