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
Incorrect useless use warning in andthen
/notandthen
/orelse
#6315
Comments
From @zoffixznetIn none of these cases is the use of variables actually useless: <Zoffix__> m: my ($sensor1, $sensor2, $sensor3); $sensor1 notandthen $sensor2 notandthen $sensor3 notandthen 'did not find a working sensor!'.say; <Zoffix__> m: my ($sensor1, $sensor2, $sensor3) := (1, 2, 3); $sensor1 andthen $sensor2 andthen $sensor3 andthen 'did not find a working sensor!'.say; <Zoffix__> m: m: my ($sensor1, $sensor2, $sensor3); $sensor1 orelse $sensor2 orelse $sensor3 orelse 'did not find a working sensor!'.say; |
From @zoffixznetOn Sat, 03 Jun 2017 07:14:59 -0700, cpan@zoffix.com wrote:
Thank you for the report. This is now fixed. Fix: rakudo/rakudo@d30e5b1e32 |
@zoffixznet - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#131499 (status was 'resolved')
Searchable as RT131499$
The text was updated successfully, but these errors were encountered: