Subject: | Moose doesn't warn when reader/writer/accessor names conflict |
package Foo;
use strict;
use warnings;
use Moose;
has foo => (
reader => 'foo',
writer => 'foo',
);
has bar => (
accessor => 'bar',
writer => 'bar',
);
----
We should catch this and throw an error. As it stands now Moose silently creates one of the methods and throws out the other.