Skip Menu |
 

This queue is for tickets about the Moo CPAN distribution.

Report information
The Basics
Id: 123753
Status: resolved
Priority: 0/
Queue: Moo

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

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



Subject: Moo 2.003003 is too picky about stubs
Download (untitled) / with headers
text/plain 498b
Version 2.003002 did not care if it was called like this: has 'mason_version' => ( is => 'ro', required => 1, isa => \&a_stub_to_be_defined_later ); But version 2.003003 now chokes on that line, even though the stub will be defined by the time the module containing that line finishes loading. This broke Mason::Tidy, which I have reported here: https://rt.cpan.org/Ticket/Display.html?id=123752 Since I don’t use either module, I will withhold judgement as to which module is at fault.
Download (untitled) / with headers
text/plain 632b
On Sun Nov 26 19:48:00 2017, SPROUT wrote: Show quoted text
> Version 2.003002 did not care if it was called like this: > > has 'mason_version' => ( is => 'ro', required => 1, isa => > \&a_stub_to_be_defined_later ); > > But version 2.003003 now chokes on that line, even though the stub > will be defined by the time the module containing that line finishes > loading. This broke Mason::Tidy, which I have reported here: > https://rt.cpan.org/Ticket/Display.html?id=123752 > > Since I don’t use either module, I will withhold judgement as to which > module is at fault.
This was an unintentional change. I should have a fix out soon.
Fixed in 2.003004.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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