Fixed with https://github.com/rakudo/rakudo/commit/ae7bcf1b8e , more tests 
needed

> On 27 Feb 2017, at 00:55, Aleks-Daniel Jakimenko-Aleksejev (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
> # Please include the string:  [perl #130870]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=130870 >
> 
> 
> Code:
> my %h1 = <1 a 2 b>;
> my %h2 = <3 c 4 d>;
> my %h3 = <5 e 6 f>;
> %h2 = %h1, %h2, %h3;
> say %h2
> 
> Result:
> {1 => a, 2 => b, 5 => e, 6 => f}
> 
> 
> Notice that it has everything except for elements of %h2.
> 
> If this behavior is correct, then it should throw a warning. But I'd argue 
> that it should work exactly the same way as if it was an assignment to a 
> different hash.

Reply via email to