mirror of https://github.com/golang/go.git
Most callers of source.Package.GetDiagnostics do it via GetTypeCheckDiagnostics. Push its logic up or down as appropriate and delete it. Rather than requiring fully populated maps of diagnostics, which was rather subtle, call storeDiagnostics for every Go file in the package. Change-Id: If43b0cc922af1013e80f969362246538df14985b Reviewed-on: https://go-review.googlesource.com/c/tools/+/297878 Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typesinternal | ||
| xcontext | ||