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
<isBEKaml> rakudo: my $a = 1..10; for $^a { .say }
<p6eval> rakudo 9a15b8: OUTPUT«12345678910»
<masak> o.O
* masak submits rakudobug
<isBEKaml> masak: bug? :O
<masak> rakudo: my $a = 42; say $^a
<p6eval> rakudo 9a15b8: OUTPUT«42»
<masak> std: my $a = 42; say $^a
<p6eval> std 30748: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0mPlaceholder
variable $^a cannot be used in this kind of block [...] FAILED 00:01
115m»
<masak> alpha: my $a = 42; say $^a
<p6eval> alpha 30e0ed: OUTPUT«42»
<masak> huh.
I consider the above to be wrong, because a placeholder parameter $^a
is sufficiently different from an ordinary lexical variable $a that
the former should not be used as a synonym for the latter.
I have the feeling that this ticket might be a duplicate. However, I
haven't been able to locate the better half of this ticket; if you do,
please merge.
Migrated from rt.perl.org#75264 (status was 'resolved')
Searchable as RT75264$
The text was updated successfully, but these errors were encountered: