From: Graham Knop Date: Thu, 11 Jul 2013 09:36:57 +0000 (-0400) Subject: mark inhaled Moose roles with is_role X-Git-Tag: v1.003000~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cea551b1bdb790a7f52061012861d21ac3e6dab8;p=gitmo%2FMoo.git mark inhaled Moose roles with is_role --- diff --git a/lib/Moo/Role.pm b/lib/Moo/Role.pm index 401cfdc..704ac3a 100644 --- a/lib/Moo/Role.pm +++ b/lib/Moo/Role.pm @@ -168,6 +168,7 @@ sub _inhale_if_moose { } require Class::Method::Modifiers if @$mods; $INFO{$role}{inhaled_from_moose} = 1; + $INFO{$role}{is_role} = 1; } }