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

[perl #132683] "Use of uninitialized value" in warn() with constantfolding and overloaded numbers

From:
Tony Cook via RT
Date:
February 21, 2018 05:25
Subject:
[perl #132683] "Use of uninitialized value" in warn() with constantfolding and overloaded numbers
Message ID:
rt-4.0.24-8095-1519190696-1671.132683-15-0@perl.org
On Thu, 04 Jan 2018 23:09:07 -0800, trizen@protonmail.com wrote:
> Hi,
> 
> There seems to be a minor issue: when warn() is used in an overloaded
> built-in function which is subject to constant folding and the
> argument is an overloaded number (with overload::constant), it
> displays "Use of uninitialized value in warn", although no
> uninitialized value is passed to warn().

Try the attached.

Thanks,
Tony

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



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