accessor overwriting warning now reflects reality
authorYuval Kogman <nothingmuch@woobling.org>
Fri, 26 Jun 2009 23:42:49 +0000 (19:42 -0400)
committerYuval Kogman <nothingmuch@woobling.org>
Fri, 26 Jun 2009 23:42:50 +0000 (19:42 -0400)
commit1d18c898b5430bf0142c3c6e678429287c01b24e
tree49eef234891685ee7da9a87b23a2e41cd5026055
parent5ef36adde3d619733607b9f5f1136524a00848df
accessor overwriting warning now reflects reality

The error says you cannot overwrite the accessor, when it in fact just
does get overwritten (and this behavior is necessary for backwards
compatibility)
lib/Moose/Meta/Attribute.pm
t/020_attributes/027_accessor_override_method.t