projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
88e88a7
)
apply_all_roles is broken with lists of role metas at the moment
Jesse Luehrs [Sun, 26 Sep 2010 19:23:07 +0000 (14:23 -0500)]
lib/Moose/Meta/Class.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Class.pm
b/lib/Moose/Meta/Class.pm
index
2951ead
..
b37b8c9
100644
(file)
--- a/
lib/Moose/Meta/Class.pm
+++ b/
lib/Moose/Meta/Class.pm
@@
-522,7
+522,7
@@
sub _reconcile_roles_for_metaclass {
return Moose::Meta::Class->create_anon_class(
superclasses => [$super_meta_name],
- roles => \@role_differences,
+ roles => [map { $_->name } @role_differences],
cache => 1,
);
}