This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id:
118953
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ribasushi [...] leporine.io
Cc:
AdminCc:

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



Subject: Staged attributed declaration does not work in roles
Given this works: perl -e ' use Moo; has foo => is => "lazy"; has "+foo" => default => 42; warn __PACKAGE__->new->foo ' it is surprising that this *doesn't*: perl -e ' { package SomeRole; use Moo::Role; has foo => is => "lazy"; has "+foo" => default => 42; } use Moo; with "SomeRole"; warn __PACKAGE__->new->foo '
Fixed in git.
I've reverted the change I made to fix this, as it would lead to backwards compatibility issues. I'm working on a proper fix, but it will take additional time.


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.