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
useless uses of "useless use ... in sink context" warning in sink context #5469
Comments
From @ajsThe core issue is this simple code: my @a = lazy gather { say 'we actually run' }; sink @a; Which gives: OUTPUT«WARNINGS for <tmp>:Useless use of @a in sink context (line 1)we Note that if you insert "quietly" before sink, it still gives the warning, From the discussion on IRC: [11:59] <harmil> Speaking of sink, I'm not convinced that the warning for -- |
@coke - Status changed from 'new' to 'open' |
From @zoffixznetThe gist of the OP's text is jnthn++ says this should not warn: my @a; sink @a; |
From @zoffixznetOn Thu, 21 Jul 2016 09:20:38 -0700, ajs wrote:
Thank you for the report. This is now fixed. Fix: rakudo/rakudo@99da4a5a6c45244 |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#128692 (status was 'resolved')
Searchable as RT128692$
The text was updated successfully, but these errors were encountered: