projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
stop testing for methods named 'meta'
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Role
/
Application
/
ToRole.pm
diff --git
a/lib/Moose/Meta/Role/Application/ToRole.pm
b/lib/Moose/Meta/Role/Application/ToRole.pm
index
23c634c
..
4d37194
100644
(file)
--- a/
lib/Moose/Meta/Role/Application/ToRole.pm
+++ b/
lib/Moose/Meta/Role/Application/ToRole.pm
@@
-81,7
+81,7
@@
sub apply_methods {
my $method_name = $method->name;
- next if $method_name eq 'meta';
+ next if $method->isa('Class::MOP::Method::Meta');
unless ( $self->is_method_excluded($method_name) ) {