Skip Menu |
Report information
Id: 131331
Status: resolved
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] Wrong useless use warning in grep + try + after
Download (untitled) / with headers
text/plain 180b
<Zoffix__> m: ^2 .grep: {try 1 after 0} <camelia> rakudo-moar a7c23a: OUTPUT: «WARNINGS for <tmp>:␤Useless use of "after" in expression "1 after 0" in sink context (line 1)␤»
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 418b
On Fri, 19 May 2017 15:24:06 -0700, cpan@zoffix.com wrote: Show quoted text
> <Zoffix__> m: ^2 .grep: {try 1 after 0} > <camelia> rakudo-moar a7c23a: OUTPUT: «WARNINGS for <tmp>:␤Useless use > of "after" in expression "1 after 0" in sink context (line 1)␤»
Thank you for the report. This is now fixed. Fix: https://github.com/rakudo/rakudo/commit/728acf597cf31fb Test: https://github.com/rakudo/rakudo/commit/728acf597cf31fb
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 635b
On Sat, 13 Jan 2018 00:09:32 -0800, cpan@zoffix.com wrote: Show quoted text
> On Fri, 19 May 2017 15:24:06 -0700, cpan@zoffix.com wrote:
> > <Zoffix__> m: ^2 .grep: {try 1 after 0} > > <camelia> rakudo-moar a7c23a: OUTPUT: «WARNINGS for <tmp>:␤Useless use > > of "after" in expression "1 after 0" in sink context (line 1)␤»
> > > Thank you for the report. This is now fixed. > > Fix: https://github.com/rakudo/rakudo/commit/728acf597cf31fb > Test: https://github.com/rakudo/rakudo/commit/728acf597cf31fb
Correction: Fix: https://github.com/rakudo/rakudo/commit/ef2dc1b8ba7d45b Test: https://github.com/rakudo/rakudo/commit/ef2dc1b8ba7d45b


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