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


<masak> awww.
<masak> who would have guessed, declaring a sub infix:<;> causes problems...
<masak> rakudo: our sub infix:<;>($lhs, $rhs) {}; { say "A"; say "B" }
<p6eval> rakudo 5ac05e:  ( no output )
<masak> :(
<masak> rakudo: our sub infix:<;>($lhs, $rhs) { say $lhs, $rhs }; 1; 2; 3
<p6eval> rakudo 5ac05e: OUTPUT«infix:<;>1␤Bool::True2␤Bool::True3␤»
<masak> I believe this is backwards. the stopper ';' should take
precedence over any declared infixes, unless we're inside a
parenthetical thingy.
* masak submits rakudobug

Reply via email to