We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5bbf40 + a6dd933 commit e609ce0Copy full SHA for e609ce0
pkg/ineffassign/ineffassign.go
@@ -35,6 +35,7 @@ func checkPath(pass *analysis.Pass) (interface{}, error) {
35
for _, id := range chk.ineff {
36
pass.Report(analysis.Diagnostic{
37
Pos: id.Pos(),
38
+ End: id.End(),
39
Message: fmt.Sprintf("ineffectual assignment to %s", id.Name),
40
})
41
}
0 commit comments