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> nom: class A { has $x = 5; method foo { say $x } }; A.new.foo
<p6eval> nom a9bead: OUTPUT«5»
<masak> nom: class A { has $x = 5; method foo { my $x = 42; say $x }
}; A.new.foo
<p6eval> nom a9bead: OUTPUT«Cannot assign into a PMCNULL container [...]
<masak> huh :)
* masak submits rakudobug
<masak> I... I wasn't even trying! :)
<masak> nom: class A { has $x = 5; method foo { say $x } }; A.new.foo
<p6eval> nom a9bead: OUTPUT«5»
<masak> nom: class A { has $x = 5; method foo { my $x = 42; say $x }
}; A.new.foo
<p6eval> nom a9bead: OUTPUT«Cannot assign into a PMCNULL container [...]
<masak> huh :)
* masak submits rakudobug
<masak> I... I wasn't even trying! :)
Fixed:
class A { has $x = 5; method foo { my $x = 42; say $x } }; A.new.foo
42
Migrated from rt.perl.org#107232 (status was 'resolved')
Searchable as RT107232$
The text was updated successfully, but these errors were encountered: