This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id:
105710
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
SROMANOV [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
2.000001
Fixed in:
(no value)



Subject: Attribute override dies when sub-classed from Moose
This bit: { package Foo; use Moose; has my_attr => ( is => 'ro', default => 'boom!', ); } { package Bar; use Moo; extends 'Foo'; has '+my_attr' => ( default => 'bang!' ); } __END__ Moose: 2.1405 Moo: 2.000001 dies with has '+my_attr' given but no my_attr attribute already exists at /home/sromanov/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/Method/Generate/Constructor.pm line 16. I ran into it while was trying to gradually port a dist from Moose to Moo.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.