go/internal/gocommand
Alan Donovan 4dd4ddb972 go/packages: issue error if 'go list' on PATH is too new
An application that links in version 1.18 of (say)
go/types cannot process Go source files reported
by version 1.19 of 'go list'. There is no way to
tell go list to behave as if it was go1.18, so
for now we proceed with parsing/typechecking but,
in case of errors, we issue an additional informative
diagnostic.

Fixes golang/go#55883
Fixes golang/go#55045
Updates golang/go#50825
Updates golang/go#52078

Change-Id: I5fd99b09742c136f4db7f71d2a75e4cdb730460d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/435356
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Alan Donovan <adonovan@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
2022-09-28 14:34:08 +00:00
..
invoke.go internal/gocommand: show pid of process 2022-09-26 20:21:32 +00:00
invoke_test.go internal/lsp/cache: add concurrency error check for go cmds 2020-04-08 03:22:09 +00:00
vendor.go internal/imports: update to permit multiple main modules 2022-02-22 17:36:43 +00:00
version.go go/packages: issue error if 'go list' on PATH is too new 2022-09-28 14:34:08 +00:00