Repository navigation
Fix false positives for unused_enumerated with result member access - #6544
SimplyDanny merged 6 commits into
Conversation
Generated by 🚫 Danger |
|
Pushed a small follow-up in The original version reset |
|
Does anything else need to be done to merge this PR? |
|
I don’t think so from my side. The follow-up for the CI/toolchain issue is already in, and the checks are green now. If there’s anything else you want adjusted before merge, I’m happy to make it. |
SimplyDanny
left a comment
There was a problem hiding this comment.
Thanks for the contribution!
The idea looks good. I have a few remarks though ...
|
Pushed a follow-up in Changes in this pass:
Validation rerun:
If you want this split up differently, I can adjust it. |
|
Thanks for the follow-up review. I pushed What changed:
Validation rerun:
|
6317104 to
eafc716
Compare
…realm#6544) Co-authored-by: Danny Mösch <[email protected]>
…realm#6544) Co-authored-by: Danny Mösch <[email protected]>
…realm#6544) Co-authored-by: Danny Mösch <[email protected]>
Summary
.enumerated()when a higher-order call uses tuple members like?.offsetafter the closure$0.element/$0.0and seed the closure usage from result-member access on the surrounding callTesting
Closes #5881