# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #120383] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=120383 >
<masak> I have a regression to report. <masak> std: my @a = 0..4; @a.=[1, 2]; say @a <camelia> std 8adbc60: OUTPUT«ok 00:01 127m» <masak> rn: my @a = 0..4; @a.=[1, 2]; say @a <camelia> niecza v24-98-g473bd20: OUTPUT«1 2» <camelia> ..rakudo-jvm 882e33: OUTPUT«===SORRY!=== Error while compiling /tmp/UuTtIcx5t8Cannot use .= on a non-identifier method callat /tmp/UuTtIcx5t8:1------> my @a = 0..4; @a.=[1, 2]⏏; say @a» <camelia> ..rakudo-parrot bec62b: OUTPUT«===SORRY!=== Error while compiling /tmp/Ayfc4RauXBCannot use .= on a non-identifier method callat /tmp/Ayfc4RauXB:1------> my @a = 0..4; @a.=[1, 2]⏏; say @a» * masak submits rakudobug <masak> I'm pretty sure @a.=[1, 2]; used to work, because I have recent code that uses it, and just broke when I upgraded Rakudo.