Improve ineffassign static code analyzer #8755
Labels
CI
Continuous integration related items
Cleanup
Code health!
Good First Issue
Good for newcomers
Priority: Low
Low priority item
馃殌 Feature Request
Description
@nisdas has found an interesting use case where our
ineffassign
analyzer can be improved, this issue is to track the possible resolution for such a case.Describe the solution you'd like
Consider the following snippet:
and then
unusedSlice
is never used.Our
ineffassign
should be able to catch cases like this.The text was updated successfully, but these errors were encountered: