You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gopls/internal/lsp/cache: always init the resolver in runProcessEnvFunc
The current logic populates the process env *after* clearing, but
clearing uses fields in the process env. To work around this, clearing
is not performed on the first run.
Chesterton's fence may apply: I don't really understand this, but don't
see how it could be correct: if the clearing requires the environment,
then the environment should be populated before clearing.
For golang/go#59216
Change-Id: Ia0bc0de10284abf9853158e4f7e60de3d338083d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/492679
Reviewed-by: Alan Donovan <[email protected]>
gopls-CI: kokoro <[email protected]>
Run-TryBot: Robert Findley <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
0 commit comments