projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't warn when overriding a stub method with an accessor
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Attribute.pm
diff --git
a/lib/Moose/Meta/Attribute.pm
b/lib/Moose/Meta/Attribute.pm
index
e347197
..
7f35161
100644
(file)
--- a/
lib/Moose/Meta/Attribute.pm
+++ b/
lib/Moose/Meta/Attribute.pm
@@
-1037,6
+1037,7
@@
sub _process_accessors {
if (
$method
+ && !$method->is_stub
&& !$method->isa('Class::MOP::Method::Accessor')
&& ( !$self->definition_context
|| $method->package_name eq $self->definition_context->{package} )