# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #67852]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67852 >


<moritz_> rakudo: say ('r' ~& 's').PARROT
<p6eval> rakudo e989e6: OUTPUT«String␤»
<moritz_> rakudo: say 's'.PARROT
<p6eval> rakudo e989e6: OUTPUT«Str␤»
<moritz_> I wonder if we can find a bug related to that.
<masak> try doing .trans on both.
<masak> rakudo: "".trans()
<p6eval> rakudo e989e6:  ( no output )
<masak> rakudo: ("r" ~& "s").trans()
<p6eval> rakudo e989e6: OUTPUT«too few arguments passed (1) - 3 params
expected [...]
<masak> I had a feeling that'd blow up. :)
<moritz_> :)
<masak> anyway, that's a bug.
* masak submits
<moritz_> right, .trans is aslo defined on parrot strings
<masak> but differently.
<moritz_> right
<moritz_> so it'll pick up the wrong candidate if it's not a Perl 6 Str

Reply via email to