mirror of https://github.com/golang/go.git
Reading the code and running the tests, it appears we only support quick fixes for undeclared name errors inside function bodies. Don't offer them in other places. The specific situation raised was type constraints, so that's what I tested even though the problem was much broader. Also add actual error messages where we had empty strings. Fixes golang/go#50935. Change-Id: I8dadcb6e4301bf22cbe7fe5d66064aafeef02690 Reviewed-on: https://go-review.googlesource.com/c/tools/+/384117 Trust: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> Reviewed-by: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| coverage | ||
| hooks | ||
| regtest | ||