# New Ticket Created by Vittore Scolari
# Please include the string: [perl #132086]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=132086 >
The following code works:
$ perl6 -e 'sub subr() { say "a"; my $c will leave { .say } = 0; }; subr'
a
0
The following doesn't:
$ cat A.pm6
sub subr() { say "a"; my $c will leave { .say } = 0; }
$ PERL6LIB=. perl6 -e 'use A'
===SORRY!===
Missing serialize REPR function for REPR MVMContext (BOOTContext)