# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #130432]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130432 >


Code:
my @b;
@b[1, 2, 3] = True;
@b.perl.say


Result (2015.10):
[Any, Bool::True, Any, Any]

Result 
(2015.11,2015.12,2016.02,2016.03,2016.04,2016.05,2016.06,2016.07.1,2016.08.1,2016.09,2016.10):
[Any, Bool::True, Mu, Mu]

Result (2016.11,2016.12,HEAD):
[Any, Bool::True, Any, Any]


I have no idea which behavior is right, but perhaps this ticket will help to 
add a test (so that we are not swinging back and forth between different 
behaviors). Output on 2015.10 is shown for reference only, just to demonstrate 
that we already had this behavior at some point.

Reply via email to