# New Ticket Created by rightfold # Please include the string: [perl #127291] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127291 >
The following code: my %h{Pair}; %h{a => 1} = 2; temp %h = %h.clone; should succeed. However, it fails with the following error: > Type check failed in binding key; expected Pair but got Str Rakudo version: > This is Rakudo version 2015.12 built on MoarVM version 2015.12 implementing > Perl 6.c.