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
<lizmat> masak: isn't this a rakudo bug?
<lizmat> r: my $a="foo"; { temp undefine $a; say $a }; say $a
<camelia> rakudo 71ea14: OUTPUT«(Any)Cannot assign to a readonly
variable or a value in block at /tmp/lGIFzmiUSK:1»
<masak> huh.
<masak> I... don't know. I think so.
<masak> but I can't internalize what happens there.
<masak> where does the "readonly" come from?
<lizmat> r: my $a="foo"; { temp $a= (Any); say $a }; say $a
<camelia> rakudo 71ea14: OUTPUT«(Any)foo»
<lizmat> seems like "undefine" is maybe doing more than it should
<masak> yeah.
* masak submits rakudobug
Migrated from rt.perl.org#117777 (status was 'resolved')
Searchable as RT117777$
The text was updated successfully, but these errors were encountered: