projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
aa1bb57
)
class_of in apply_base_class_roles
Shawn M Moore [Sat, 28 Mar 2009 21:34:03 +0000 (17:34 -0400)]
lib/Moose/Util/MetaRole.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Util/MetaRole.pm
b/lib/Moose/Util/MetaRole.pm
index
70f9a16
..
5cb451b
100644
(file)
--- a/
lib/Moose/Util/MetaRole.pm
+++ b/
lib/Moose/Util/MetaRole.pm
@@
-77,7
+77,7
@@
sub apply_base_class_roles {
my $for = $options{for_class};
- my $meta = $for->meta();
+ my $meta = Class::MOP::class_of($for);
my $new_base = _make_new_class(
$for,