# New Ticket Created by Paweł Pabian # Please include the string: [perl #74946] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74946 >
perl6 -e 'my %h = {"a" => "b"}; %h{"a"} = %h.delete("a"); say %h.perl;'
{}
I'm not sure if it's a bug.
I expect right side to be evaluated and THEN assignment to performed.
So this assignment should behave as:
%h{"a"} = "b"
And hash should not be empty.
bbkr
