projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
work in progress on getting rt 48985 changes working with moose
[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
eae329b
..
8c86051
100644
(file)
--- a/
lib/Moose/Meta/Role/Application/ToRole.pm
+++ b/
lib/Moose/Meta/Role/Application/ToRole.pm
@@
-73,6
+73,7
@@
sub apply_attributes {
sub apply_methods {
my ($self, $role1, $role2) = @_;
foreach my $method_name ($role1->get_method_list) {
+ next if $method_name eq 'meta';
unless ( $self->is_method_excluded($method_name) ) {
if ( $role2->has_method($method_name)