projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
49b8c93
)
Use role names for consistency with ToRole
Shawn M Moore [Sun, 31 May 2009 02:06:22 +0000 (22:06 -0400)]
lib/Moose/Meta/Role/Application/RoleSummation.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Role/Application/RoleSummation.pm
b/lib/Moose/Meta/Role/Application/RoleSummation.pm
index
74f9c54
..
8449f0b
100644
(file)
--- a/
lib/Moose/Meta/Role/Application/RoleSummation.pm
+++ b/
lib/Moose/Meta/Role/Application/RoleSummation.pm
@@
-173,7
+173,7
@@
sub apply_methods {
if ($seen->{method}->body != $method->{method}->body) {
$c->add_conflicted_method(
name => $method->{name},
- roles => [$method->{role}, $seen->{role}],
+ roles => [$method->{role}->name, $seen->{role}->name],
);
delete $method_map{$method->{name}};