You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ perl6 -e 'my $x; foo; sub foo { say $x }'
Use of uninitialized value
Fine. But now:
$ perl6 -e 'foo; my $x; sub foo { say $x }'
Null PMC access in type()
[...]
In both programs, $x is clearly in scope when accessed, so this is not
one of the open "variable access before declaration" tickets. (Even
though it might have similar causes.) So I doubt that the latter of
the programs should be illegal. Even if it were, it shan't produce a
Null PMC access.
Migrated from rt.perl.org#72328 (status was 'resolved')
Searchable as RT72328$
The text was updated successfully, but these errors were encountered: