On Sat, 16 Jan 2016 13:33:45 -0800, rightf...@gmail.com wrote: > 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.
Thank you for the report. This is now fixed in branch `post-release`. Fix: https://github.com/rakudo/rakudo/commit/0a32e51bf58b5f9 Test: https://github.com/perl6/roast/commit/321c54f3edcd09458