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


<masak> rakudo: my @a = 1,2; my @b = 3,4; (@a,@b) := @b,@a; say ~...@a; say 
~...@b
<p6eval> rakudo 142d22: OUTPUT«1 2␤3 4␤»
* masak submits rakudobug
<masak> <TimToady> looks like the bind has turned into a no-op somehow
<masak> rakudo: my $a = 42; my $b := $a; say $b
<p6eval> rakudo 142d22: OUTPUT«42␤»
<sorear> the := operator in Rakudo is implemented in a deliberately
wrong way. Be grateful if it works, don't complain too much if it
doesn't
<masak> I'm not complaining; I'm submitting a rakudobug.
<sorear> implementing := correctly would require an extra layer of
indirection on all variable references
<masak> yes.

Reply via email to