develooper Front page | perl.perl5.porters | Postings from February 2018

[perl #132760] Blead Breaks CPAN: YANICK/List-Lazy-0.3.0.tar.gz

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
February 15, 2018 22:24
Subject:
[perl #132760] Blead Breaks CPAN: YANICK/List-Lazy-0.3.0.tar.gz
Message ID:
rt-4.0.24-27298-1518733459-470.132760-15-0@perl.org
On Thu, 15 Feb 2018 11:35:56 -0800, zefram@fysh.org wrote:
> Eirik Berg Hanssen wrote:
> >  Naive suggestion: On the first error, make all warnings fatal for the
> >duration of the queue, so the warnings are queued with the errors?
> 
> That would break nested things that would incur warnings in a different
> context.

If, when the first error is queued, we just make warnings fatal for the current compilation scope, I think it would work.  You don’t have to worry about nested scopes, because BEGIN blocks will not run after an error.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=132760

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About