$ cd gopls
$ gopls check ../internal/lsp/cmd/cmd.go
2020/12/29 08:28:38 Error:2020/12/29 08:28:38 warning: diagnose package: no package for golang.org/x/tools/internal/lsp/cmd
snapshot=1
package="golang.org/x/tools/internal/lsp/cmd"
but it never finishes. Contrast this with
$ cd gopls
gopls check main.go
which returns immediately.
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Dec 29, 2020
stamblerre
changed the title
x/tools/gopls: gopls check command hangs on package errors
x/tools/gopls: improve command-line UX when checking files outside of the module
Dec 29, 2020
stamblerre
changed the title
x/tools/gopls: improve command-line UX when checking files outside of the module
x/tools/gopls: improve command-line UX when checking files outside of the current module
Dec 29, 2020
To reproduce, in the
tools
repository:but it never finishes. Contrast this with
which returns immediately.
The text was updated successfully, but these errors were encountered: