mirror of https://github.com/golang/go.git
Due to misuse of the expandErrors function, when we encountered a continuing error, we would group all the related errors into a single one, then return both it and all its secondaries individually. That makes for a strange user experience where you get one complete error and N-1 incomplete ones. Instead, create a copy of the complete error for each secondary error, moving the copy to the location of the secondary error and adding a bit to the text to (hopefully) clarify what's going on. Change-Id: I87cf0e3b2cea98317f650d16a78476edf108a934 Reviewed-on: https://go-review.googlesource.com/c/tools/+/295413 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: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| analysisinternal | ||
| apidiff | ||
| event | ||
| fakenet | ||
| fastwalk | ||
| gocommand | ||
| gopathwalk | ||
| imports | ||
| jsonrpc2 | ||
| lsp | ||
| memoize | ||
| packagesinternal | ||
| proxydir | ||
| span | ||
| stack | ||
| testenv | ||
| tool | ||
| typesinternal | ||
| xcontext | ||