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


<masak> m: say (<jet plane> (^) <network lag>) (^) <plane network>
<camelia> rakudo-moar d60a8f: OUTPUT«set(jet, lag)␤»
<masak> m: say <jet plane> (^) <network lag> (^) <plane network>
<camelia> rakudo-moar d60a8f: OUTPUT«Too many positionals passed;
expected 2 arguments but got 3 [...]
<masak> surely I should be able to do the latter too?
<masak> (a) because if nothing else, infix:<(^)> should left-associate
<masak> (b) because maybe it even chains? I dunno.
* masak submits rakudobug

It's an interesting question in itself where the error message "Too
many positionals passed; expected 2 arguments but got 3" comes from.
Does the (^) operator somehow declare itself as chaining, but then has
no capability to handle a longer chain of operands? Just guessing
here.

Reply via email to