go/internal/typesinternal
Heschi Kreinick 164402db9d internal/lsp/cache: set types.Config.GoVersion
Set the language version from the controlling go.mod file's go version,
if any. Also verify that we properly surface a diagnostic if the version
is invalid.

I didn't add any quick fixes.

Fixes golang/go#50688.

Change-Id: Ic472502d1224a1decb5b989d51110b837020e998
Reviewed-on: https://go-review.googlesource.com/c/tools/+/383394
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>
2022-02-07 18:19:30 +00:00
..
errorcode.go internal/typesinternal: sync error codes with go1.16 2021-02-16 20:01:04 +00:00
errorcode_string.go internal/typesinternal: sync error codes with go1.16 2021-02-16 20:01:04 +00:00
types.go internal/lsp/cache: set types.Config.GoVersion 2022-02-07 18:19:30 +00:00
types_118.go internal/lsp/cache: set types.Config.GoVersion 2022-02-07 18:19:30 +00:00