Confirmed. Apparently we need to teach something that Rakudo::Internals::IterationSet is nothing but an nqp::hash.
Or we need to revert the 5% performance gains on creating sets and set operators that having Rakudo::Internals::IterationSet brought. > On 7 Apr 2017, at 00:04, David Warring (via RT) > <perl6-bugs-follo...@perl.org> wrote: > > # New Ticket Created by David Warring > # Please include the string: [perl #131112] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=131112 > > > > david@X346:~$ perl6 -v > This is Rakudo version 2017.03-128-g87fe800 built on MoarVM version > 2017.03-87-g5d73bf4 > implementing Perl 6.c. > david@X346:~$ echo "class Tst { constant X = set < x y >; } > Tst.pm >> ^C > david@X346:~$ perl6 -v > This is Rakudo version 2017.03-128-g87fe800 built on MoarVM version > 2017.03-87-g5d73bf4 > implementing Perl 6.c. > david@X346:~$ echo "class Tst { constant X = set < x y >; }" > Tst.pm > david@X346:~$ perl6 -I . -M Tst > ===SORRY!=== > Missing serialize REPR function for REPR VMHash > (Rakudo::Internals::IterationSet)