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


<masak> m: class Strange { has $.env is rw; method reset($env) { $.env =
$env } }; my $s = Strange.new; my %env = (1 => 2, 3 => 4);
$s.reset(%env); $s.reset(%env)
<camelia> rakudo-moar 9c8989: OUTPUT«Cannot assign to a readonly
variable or a value␤  in method reset at /tmp/plljs3r5Zt line 1␤  in
block <unit> at /tmp/plljs3r5Zt line 1␤␤»

<ufobat> soo, it's a bug?
<masak> pretty sure it is, yes
<masak> care to submit it? :)

Reply via email to