This change is uploaded for discussion. This adds a SuggestedFix field to Diagnostic that can be used to prepare refactorings or to surface fixes for diagnostics when they're shown by the LSP. Change-Id: Icad3bb78540b55df1707955139c889f612d1084f Reviewed-on: https://go-review.googlesource.com/c/tools/+/181941 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dominik Honnef <dominik@honnef.co> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| analysistest | ||
| cmd/vet | ||
| internal | ||
| multichecker | ||
| passes | ||
| singlechecker | ||
| unitchecker | ||
| analysis.go | ||
| diagnostic.go | ||
| diagnostic_experimental.go | ||
| doc.go | ||
| validate.go | ||