Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong useless use warning in grep + try + after #6253

Closed
p6rt opened this issue May 19, 2017 · 4 comments
Closed

Wrong useless use warning in grep + try + after #6253

p6rt opened this issue May 19, 2017 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented May 19, 2017

Migrated from rt.perl.org#131331 (status was 'resolved')

Searchable as RT131331$

@p6rt
Copy link
Author

p6rt commented May 19, 2017

From @zoffixznet

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

@p6rt
Copy link
Author

p6rt commented Jan 13, 2018

From @zoffixznet

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​: rakudo/rakudo@728acf597cf31fb
Test​: rakudo/rakudo@728acf597cf31fb

@p6rt
Copy link
Author

p6rt commented Jan 13, 2018

@zoffixznet - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jan 13, 2018
@p6rt
Copy link
Author

p6rt commented Jan 13, 2018

From @zoffixznet

On Sat, 13 Jan 2018 00​:09​:32 -0800, cpan@​zoffix.com wrote​:

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​: rakudo/rakudo@728acf597cf31fb
Test​: rakudo/rakudo@728acf597cf31fb

Correction​:

Fix​: rakudo/rakudo@ef2dc1b8ba7d45b
Test​: rakudo/rakudo@ef2dc1b8ba7d45b

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant