# New Ticket Created by Zoffix Znet # Please include the string: [perl #131500] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=131500 >
Using loose ops works fine some times: <Zoffix__> m: say (Int andthen 42) <camelia> rakudo-moar 64e898: OUTPUT: «()» <Zoffix__> m: say (Int orelse 42) <camelia> rakudo-moar 64e898: OUTPUT: «42» <Zoffix__> m: say (42 orelse 42) <camelia> rakudo-moar 64e898: OUTPUT: «42» But not other times; not in particular how `andthen` fails below, yet with different arguments above, succeeds. <Zoffix__> m: say(70 notandthen 42) <camelia> rakudo-moar 64e898: OUTPUT: «===SORRY!=== Error while compiling <tmp>Unable to parse expression in argument list; couldn't find final ')' at <tmp>:1------> say(70⏏ notandthen 42) expecting any of: infix infix stopper» <Zoffix__> m: say(70 andthen 42) <camelia> rakudo-moar 64e898: OUTPUT: «===SORRY!=== Error while compiling <tmp>Unable to parse expression in argument list; couldn't find final ')' at <tmp>:1------> say(70⏏ andthen 42) expecting any of: infix infix stopper»