| Store | Cart

[perl #124113] Compile-time warning with UTF8 variable in array index

From: Father Chrysostomos via RT <perl...@perl.org>
Fri, 27 Mar 2015 13:17:58 -0700
On Sun Mar 22 21:12:43 2015, a...@chmrr.net wrote:
> On Wed, 18 Mar 2015 17:12:38 -0700 Alex Vandiver (via RT)> > Perl 5.18.0 and above cause compile-time warnings with:> > > >     $array[ $𝛃 + 0 ];> > > > ..but not:> > > >     $array[ 0 + $𝛃 ];> > Patches for this, as well as 2.5 related problems, attached.>  - Alex

Thank you.  I have applied the first three patches:

$ git log --oneline -3
8ce2ba8 Fix "...without parentheses is ambuguous" warning for UTF-8 function nam
6e59c86 Allow unquoted UTF-8 HERE-document terminators
b3089e9 [perl #124113] Make check for multi-dimensional arrays be UTF8-aware

I don’t like the fact that the fourth one lacks tests, even though I believe it corrects the behaviour.  Also, what it addresses is not a regression of any sort, so it needs to wait until after 5.22 since we are in code freeze.

-- 

Father Chrysostomos


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

Recent Messages in this Thread
Alex Vandiver (via RT) Mar 19, 2015 12:12 am
Alex Vandiver Mar 23, 2015 04:12 am
Father Chrysostomos via RT Mar 27, 2015 08:17 pm
Dave Mitchell Mar 30, 2015 11:00 am
Alex Vandiver Mar 30, 2015 06:05 pm
Nicholas Clark Mar 30, 2015 06:38 pm
Alex Vandiver Mar 31, 2015 08:15 am
Dave Mitchell Mar 31, 2015 08:50 am
Messages in this thread