# New Ticket Created by Tim King
# Please include the string: [perl #119589]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119589 >
> <TimK1> rn: sub infix:<add> (@a, $n) is equiv(&infix:<X>) { @a <<+>>
> $n }; say 1 .. 3 add 5;
> <camelia> niecza v24-92-g3961d5d: OUTPUT«6 7 8»
> <camelia> ..rakudo 484f08: OUTPUT«[31m===[0mSORRY![31m===[0m Error
> while compiling /tmp/J6R82sHIP7Routine given to equiv does not appear
> to be an operatorat /tmp/J6R82sHIP7:1------> »
> <TimK1> rn: sub infix:<add> (@a, $n) is equiv(&infix:<+>) { @a <<+>>
> $n }; say (1 .. 3) add 5; # definitely not what I wanted
> <camelia> rakudo 484f08, niecza v24-92-g3961d5d: OUTPUT«6 7 8»