Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modifies-value-receiver: warn on slice or map (#943)
* modifies-value-receiver: warn on slice or map Assignments which index into the slice or map are already ignored on line 72, and those where the whole receiver is slice or map on line 50. We should not ignore assignments where the member variable is slice or map. Signed-off-by: Bryan Boreham <bjboreham@gmail.com> * Remove extra space --------- Signed-off-by: Bryan Boreham <bjboreham@gmail.com> Co-authored-by: Denis Voytyuk <5462781+denisvmedia@users.noreply.github.com>
- Loading branch information