projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e55d472
)
class_of in role->combine
Shawn M Moore [Sat, 28 Mar 2009 20:54:24 +0000 (16:54 -0400)]
lib/Moose/Meta/Role.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Role.pm
b/lib/Moose/Meta/Role.pm
index
a6ff920
..
101be10
100644
(file)
--- a/
lib/Moose/Meta/Role.pm
+++ b/
lib/Moose/Meta/Role.pm
@@
-456,7
+456,7
@@
sub combine {
my (@roles, %role_params);
while (@role_specs) {
my ($role, $params) = @{ splice @role_specs, 0, 1 };
- push @roles => $role->meta;
+ push @roles => Class::MOP::class_of($role);
next unless defined $params;
$role_params{$role} = $params;
}