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
<TimToady> perl6: my @array = <a b c>; @array XR~= 'X'; say @array;
<p6eval> niecza v6-177-g365e216: OUTPUT«Unhandled exception: Unable to
resolve method ctxzyg [...]
<p6eval> ..rakudo 7175e5: OUTPUT«a b c»
<p6eval> ..pugs: OUTPUT«***  Unexpected "XR" [...]
<masak> hm. how does Rakudo parse that?
<pmichaud> rakudo parses it exactly the way it reads :)
<TimToady> probably XR[=]
<masak> why isn't that an erroneous modification of a constant?
<TimToady> maybe that's why niecza blows up on it
* masak submits rakudobug
<TimToady> if so, message is LTA
<jnthn> may be a lack of decontainerization somewhere
<masak> rakudo: my $a = 'a'; $a R~= 'X'; say $a
<p6eval> rakudo 7175e5: OUTPUT«Cannot modify readonly value in
'&infix:<=>' [...]
<masak> rakudo: my $a = 'a'; $a XR~= 'X'; say $a
<p6eval> rakudo 7175e5: OUTPUT«a»
<jnthn> rakudo: ('a' R~ 'b') = 1
<p6eval> rakudo 7175e5: ( no output )
<jnthn> golfd.
<masak> jnthn++
Migrated from rt.perl.org#93350 (status was 'resolved')
Searchable as RT93350$
The text was updated successfully, but these errors were encountered: