go/gopls/internal/regtest
Robert Findley d0c72119bb internal/lsp/cache: fix resolution of the go directive in multi-module
workspaces

Go versions are not valid semver, so we were always resolving Go 1.12 in
the workspace module. This matters with lazy module loading.

Fixes golang/go#49668
Updates golang/go#49105
Fixes golang/go#48364

Change-Id: Iae4f5f6e17df4be1f4d6ee9d3f439efa3cf658d3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/365737
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2021-11-19 19:11:45 +00:00
..
bench gopls/internal/regtest: fix completion benchmarks 2021-08-12 16:12:36 +00:00
codelens gopls/internal/regtest/codelens: avoid compiler bug 2021-08-20 21:27:50 +00:00
completion internal/lsp/source: compute imports text edits from scratch 2021-07-22 17:13:07 +00:00
diagnostics gopls/internal/regtest/diagnostics: skip Test_Issue38211 2021-11-12 15:49:44 +00:00
misc gopls/internal/regtest/misc: skip TestInconsistentVendoring on Windows 2021-11-17 17:12:49 +00:00
modfile internal/lsp/regtest: run one quick fix at a time in TestUnknownRevision 2021-05-03 21:45:16 +00:00
watch gopls/internal/regtest: clean up TestFillReturnsPanic 2021-06-03 18:03:08 +00:00
workspace internal/lsp/cache: fix resolution of the go directive in multi-module 2021-11-19 19:11:45 +00:00