Carl MXXsak (via RT) wrote: > # New Ticket Created by "Carl Mäsak" > # Please include the string: [perl #61838] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61838 > > > > Rakudo r34628: > > $ perl6 -e 'my $a = $b' > Scope not found for PAST::Var '$b' > [...] > > $ perl6 -e 'my $a = $b; my $b' # Compiles and runs!
This is actually the first test in t/spec/S04-declarations/my.t (or sufficiently similar). Cheers, Moritz