# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #122429]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=122429 >


<masak> m: $_ = '123'; s:g[\d] = 7; .say
<camelia> rakudo-moar c00999: OUTPUT«777␤»
<masak> m: $_ = '123'; s[\d] += 1; .say
<camelia> rakudo-moar c00999: OUTPUT«===SORRY!=== Error while
compiling /tmp/0Ia20teBXj␤Malformed assignment operator [...]
<masak> m: $_ = '123'; s:g[\d] += 1; .say
<camelia> rakudo-moar c00999: OUTPUT«===SORRY!=== Error while
compiling /tmp/0Ia20teBXj␤Malformed assignment operator [...]
<TimToady> I think when we fixed op= to allow [op]= we mighta busted somethin
<TimToady> jnthn: ^^
<TimToady> or the masakbot, since it's a bug :)
* masak submits rakudobug
<TimToady> you'd think the regression tests shoulda caught the, er,
regression...
<TimToady> or maybe it wasn't a regression?
<TimToady> coulda sworn that worked, but maybe I'm remembering niecza?
<masak> n: $_ = '123'; s[\d] += 1; .say
<camelia> niecza v24-109-g48a8de3: OUTPUT«223␤»
<masak> n: $_ = '123'; s:g[\d] += 1; .say
<camelia> niecza v24-109-g48a8de3: OUTPUT«234␤»

Reply via email to