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
<moritz_> and $() defaults to $/.ast if it exists
<masak> rakudo: "foo" ~~ /foo/; say "What kind of $()l am I?"
<p6eval> rakudo 451b40: OUTPUT«What kind of l am I?»
<masak> hm, shouldn't that say 'fool'?
<pmichaud> no
<pmichaud> spec was changed
<pmichaud> .ast is undef if not set.
<pmichaud> (it used to be .Str if not set)
<masak> ahah
<masak> right.
<masak> good. that's separation for you.
<moritz_> pmichaud: $() should be $/.ast // $/.Str iirc
<pmichaud> moritz_: oh, that's possible, yes.
<moritz_> S05:2577:C<$()> is a shorthand for C<$($/.ast // ~$/)>.
* masak submits rakudobug
Migrated from rt.perl.org#76276 (status was 'resolved')
Searchable as RT76276$
The text was updated successfully, but these errors were encountered: