On Thu, Jun 8, 2017 at 6:22 AM, Zoffix Znet via RT <
perl6-bugs-follo...@perl.org> wrote:

>
>    <Zoffix> m: sub infix:<2> { $^a + $^b }; say 2 2 2
>    <camelia> rakudo-moar 1ac799: OUTPUT: «4␤»
>
> Because when an op is expected. There's just one op named `2`. And when
> a term is expected, there's just one term named 2.


There's a difference here: you have a token separator. ²² lacks one but
acts like it has one.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to