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


<JimmyZ> rakudo: sub infix:<+-*/>($a, $b) { ( { $a + $b }, { $a - $b
}, { $a * $b }, { $a / $b } )>>.() }; say 5+-*/2;
<p6eval> rakudo 52f9ea: OUTPUT«Tried to find null name␤  in 'infix:<+-*/>' [...]
<JimmyZ> 这个代码有什么错误?
<masak> I don't know. It's related to the >>.(), to be sure.
<JimmyZ> yes
<masak> but I'm not sure if it should be allowed or no.
<masak> rakudo: say ( { 1 + 1 }, { 2 + 2 } )>>.()
<p6eval> rakudo 52f9ea: OUTPUT«Tried to find null name [...]
<masak> rakudo: say ( { 1 + 1 }, { 2 + 2 } )>>()
<p6eval> rakudo 52f9ea: OUTPUT«Tried to find null name [...]
* masak submits rakudobug

Reply via email to