Skip Menu |
Report information
Id: 131500
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



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␤»


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org