New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/internal/lsp: crash when working with module replacements #30797
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
+1 |
bcmills
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Apr 12, 2019
CC @stamblerre |
I encountered gopls crashes too using with vscode. The gopls log says:
|
This was fixed by cl/171861 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Summary
The server seems to crash and VSCode stops trying to use it when the reproduction steps below happen.
It's also worth mentioning that this might be an upstream issue with either go/packages or go modules because without
gopls
, the same issue still happens minus the crash since there's no LSP.Info
gopls
version: e65039reproduce
In main.go, paste the following:
Then, cmd+click on the function JWTConfigFromJSON, which should take you to the replaced file in $GOPATH/pkg.
There, try clicking around or hovering over any symbol and you should see the crash sign as attached below:
The text was updated successfully, but these errors were encountered: