Subject: | [BUG] Loose ops in argument list cause parse failures in some cases |
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»