We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go version
$ go version go version go1.12.5 linux/amd64
Yes
go env
$ go env GOARCH="amd64" GOOS="linux"
Clicked "Go To Definition" on "y" on the following code (in vscode:
switch y := x.(type) { default: fmt.Println() }
Go to definition (at the same location).
An error was returned: "no definition found for y"
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/182462 mentions this issue: internal/lsp: fix references for type switch vars
internal/lsp: fix references for type switch vars
Sorry, something went wrong.
golang/tools@b76e30f
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Clicked "Go To Definition" on "y" on the following code (in vscode:
What did you expect to see?
Go to definition (at the same location).
What did you see instead?
An error was returned: "no definition found for y"
The text was updated successfully, but these errors were encountered: