New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%h.delete() in right side of expression causes left side key missing #1750
Comments
From @bbkrperl6 -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. bbkr |
From @cokeOn Thu May 06 07:00:43 2010, pawel.pabian@implix.com wrote:
Several comments on #perl6 concur this is (still) a bug. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @usev6This works now (using current syntax -- e.g. :delete): $ perl6-m -e 'my %h = a => "b"; %h{"a"} = %h{"a"} :delete; say %h.perl;' I added a test to S32-hash/delete-adverb.t with the following commit: Raku/roast@96c87780f7 |
1 similar comment
From @usev6This works now (using current syntax -- e.g. :delete): $ perl6-m -e 'my %h = a => "b"; %h{"a"} = %h{"a"} :delete; say %h.perl;' I added a test to S32-hash/delete-adverb.t with the following commit: Raku/roast@96c87780f7 |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#74946 (status was 'resolved')
Searchable as RT74946$
The text was updated successfully, but these errors were encountered: