Skip Menu |

This queue is for tickets about the Zydeco CPAN distribution.

Report information
The Basics
Id: 132068
Status: rejected
Priority: 0/
Queue: Zydeco

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Roles
Hi Toby, Seems roles are broken: package Test { use Zydeco; class Thing { with Okay; factory test { my $c = $class->new; # $c->one('test'); return $c; } method three { 'three' } } role Okay { has one (type => Str); method two { return $self->one; } } } use feature qw/say/; my $thing = Test->test; say $thing->three; say $thing->two;
has one (type => Str, is => rw); I changed attributes to default to ro. https://rt.cpan.org/Ticket/Display.html?id=131958