17:11 \ r: my $a .= ++; say $a
17:11 \ rakudo 455467: OUTPUT«No such method '&postfix:\<++>'
for invocant of type 'Any' in method dispatch:\<.=> at
src/gen/CORE.setting:1127 in block at
/tmp/XiTAa5iKur:1»
17:11 \ r: my $a .= --; say $a
17:11 \ rakudo 455467: OUTPUT«No such method '&postfix:\<-->'
for invocant of type 'Any' in method dispatch:\<.=> at
src/gen/CORE.setting:1127 in block at
/tmp/ei3KpLGpwF:1»
17:16 \ r: sub postfix:\<!> (\f) { [*] 1..f }; my $n = 4; say $n.!;
$n .= !; say $n;
17:16 \ rakudo 455467: OUTPUT«24No such method '&postfix:\<!>'
for invocant of type 'Int' in method dispatch:\<.=> at
src/gen/CORE.setting:1127 in block at
/tmp/FmTDH49Yug:1»
\ I have a regression to report.
\ std: my @a = 0..4; @a.=[1, 2]; say @a
\ std 8adbc60: OUTPUT«ok 00:01 127m»
\ rn: my @a = 0..4; @a.=[1, 2]; say @a
\ niecza v24-98-g473bd20: OUTPUT«1 2»
\ ..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»
\ ..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
\ 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.
Migrated from rt.perl.org#120272 (status was 'new')
Searchable as RT120272$