projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4055038
)
mark inhaled Moose roles with is_role
Graham Knop [Thu, 11 Jul 2013 09:36:57 +0000 (
05:36
-0400)]
lib/Moo/Role.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moo/Role.pm
b/lib/Moo/Role.pm
index
401cfdc
..
704ac3a
100644
(file)
--- 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;
}
}