# New Ticket Created by Lloyd Fournier # Please include the string: [perl #131705] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=131705 >
echo 'constant @foo is export = /{ say "hello" } ./, > Foo.pm6 perl6 -I. -e 'use Foo; "foo" ~~ @foo[0]; # getlex: outer index out of range This is another compile time outer lexical scope bug. Note: the array is superfluous, just there to avoid triggering RT #131704.