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
<masak> rakudo: class A { method foo { my $a = 42; method bar { say $a
} } }; given A.new { .foo; .bar }
<p6eval> rakudo 86bf4c: OUTPUT«42»
<masak> rakudo: class A { method foo { my $a = 42; method bar { say $a
} } }; A.new.bar
<p6eval> rakudo 86bf4c: OUTPUT«Null PMC access in type() in 'A::bar' [...]
* masak submits rakudobug
<masak> I suspected that might happen :P
<masak> at the point .bar is called, if .foo hasn't been called, $a
contains a Null PMC.
<masak> because the lexpad in .foo has never been visited, and thus is
not active.
<masak> this'll all be fixed when we have static lexpads.
Migrated from rt.perl.org#83902 (status was 'resolved')
Searchable as RT83902$
The text was updated successfully, but these errors were encountered: