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


Hello,

Please see below.

-jdv

18:04 < jdv79> m: my @a = 1; for @a -> $a is rw { $a := 2; } # that 
error isn't clear as to why; at
                least to me
18:04 <+camelia> rakudo-moar 9b5d4e: OUTPUT«===SORRY!=== Error while 
compiling /tmp/QHdJhkWUo0?Cannot
                  use bind operator with this left-hand side?at 
/tmp/QHdJhkWUo0:1?------> my @a = 1; for
                  @a -> $a is rw { $a := 2?; } # that error isn't clear 
as to why; ?»
18:05 < pmichaud> jdv79: good point... I don't know if the "error" here 
is because it's disallowed in
                   Perl 6 or because Rakudo doesn't know how to do it 
yet.
18:05 < pmichaud> I suspect the error message should read "We don't 
know how to do this yet."

Reply via email to