X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FMeta%2FAttribute.pm;h=807d696b1cf086d25f057dfa2719dbd6c80c49a6;hb=b07a4e6d92885f60150e8f0998becaa961a3abc1;hp=54ba639e67e762fbbde2ccf18486842860b27db3;hpb=7c62cb0a332f1af47bf84d3da79dccf1f9fae616;p=gitmo%2FMoose.git diff --git a/lib/Moose/Meta/Attribute.pm b/lib/Moose/Meta/Attribute.pm index 54ba639..807d696 100644 --- a/lib/Moose/Meta/Attribute.pm +++ b/lib/Moose/Meta/Attribute.pm @@ -627,7 +627,7 @@ sub _canonicalize_handles { return map { $_ => $_ } ( $role_meta->get_method_list, - $role_meta->get_required_method_list + map { $_->name } $role_meta->get_required_method_list, ); } }