[gopls-release-branch.0.6] all: merge master into gopls-release-branch.0.6
11e8f6b85 internal/lsp: refactor codeAction
1523bb47d internal/lsp: fix time.Duration hover name check
bcb2d7b23 internal/lsp: fix bad completion for variadic functions
7ee29554c internal/lsp/cache: refactor and improve go get quick fixes
1e524e26b internal/lsp/source: add the nilness analyzer
d34cf35d9 internal/lsp/source: return nil for foldingRange in case of parse error
c5f5f4bed gopls/doc: clarify how to set remote.listen.timeout
3e1cb9523 internal/lsp/source: correct workspace symbol logic for unpacking receivers
397283d20 internal/lsp/protocol/typescript: fix lint errors in .ts code
d19d8cffc internal/lsp/protocol/typecript: fix type merging
50ca8d007 all: recognize new error from go command when no go.mod is found
2cde57b5a internal/lsp: remove redundant didChange notifications
376db5724 internal/lsp: use pre-existing quick fixes for analysis diagnostics
144d5ced6 internal/lsp: run type error analyzers as part of diagnostics
24439e3c7 internal/lsp/source: eliminate GetTypeCheckDiagnostics
dafbee503 internal/lsp: show human-readable const time.Duration as a comment
9c452d857 internal/lsp/cache: don't rely on related diagnostics if unsupported
2ac05c832 internal/lsp: key GC details off package ID
303d8bbb5 gopls/internal/hooks: compile URL regexp once
94327d32c internal/lsp/cache: show type errors on parse errors in other files
16b2c8703 gopls/internal/regtest: add a failing test for issue 44736
78002535c internal/lsp/cache: split up sourceDiagnostics
47985cf3c internal/lsp/cache: refactor Go file parsing
6422c5c8c internal/lsp/cache: invalidate metadata on magic comment changes
f9c628b18 gopls/internal/regtest: add test for bad embed rules
89a9cb6e0 internal/lsp/cache: parse filenames from go list errors correctly
eb48d3f60 internal/lsp/cache: refactor diagnostic suppression
7a079fcd7 internal/lsp/cache: fix related error processing
f5a4005dd cmd/eg: don't do rewrites within the template file itself
28e7a3b5f cmd/eg: use go/packages
54dc8c5ed playground: remove /share registration, add Proxy
24aca17f6 cmd/guru: adjust describe qualifier function (fix describe test)
0150491f5 x/tools/internal/fastwalk: fixes "interrupted system call" error
b4639ccb8 internal/lsp/protocol: fix vet error in tsprotocol.go
a43f69b1f go/expect: use parser.AllErrors when extracting Notes
f48e60bd8 add comment and check action type neovim goimports
b8d1a33f7 internal/lsp/source: add the unusedwrite analyzer
Change-Id: I3bf12fb1e4a6431ea32e879774dd6c5e525b1ff1
diff --git a/gopls/go.mod b/gopls/go.mod
index bfee7c6..3565e0d 100644
--- a/gopls/go.mod
+++ b/gopls/go.mod
@@ -8,7 +8,7 @@
github.com/sergi/go-diff v1.1.0
golang.org/x/mod v0.4.1
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
- golang.org/x/tools v0.1.0
+ golang.org/x/tools v0.1.1-0.20210222172741-77e031214674
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
honnef.co/go/tools v0.1.1
mvdan.cc/gofumpt v0.1.0
diff --git a/gopls/go.sum b/gopls/go.sum
index 06850b6..2666a31 100644
--- a/gopls/go.sum
+++ b/gopls/go.sum
@@ -33,21 +33,32 @@
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1 h1:Kvvh58BN8Y9/lBi7hTekvtMpm07eUZ0ck5pRHpsMWrY=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
+golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk=
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20210101214203-2dba1e4ea05c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
+golang.org/x/tools v0.1.1-0.20210222172741-77e031214674 h1:XzEjy9Ks1MwmcJOarbxTnL/AqHtzsRfRzAwfDhII2lE=
+golang.org/x/tools v0.1.1-0.20210222172741-77e031214674/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
diff --git a/internal/lsp/debug/info.go b/internal/lsp/debug/info.go
index d458019..018c754 100644
--- a/internal/lsp/debug/info.go
+++ b/internal/lsp/debug/info.go
@@ -26,7 +26,7 @@
)
// Version is a manually-updated mechanism for tracking versions.
-const Version = "master"
+const Version = "v0.6.7"
// ServerVersion is the format used by gopls to report its version to the
// client. This format is structured so that the client can parse it easily.