Skip to content
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/gopls: completion fails in an invalid range statement #31907

Closed
stamblerre opened this issue May 8, 2019 · 1 comment
Closed

x/tools/gopls: completion fails in an invalid range statement #31907

stamblerre opened this issue May 8, 2019 · 1 comment
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.

Comments

@stamblerre
Copy link
Contributor

Context: microsoft/vscode-go#2474.

Repro:

for _, := range x.<>

This is invalid code, but it should still work. Likely a parse error.

@gopherbot gopherbot added this to the Unreleased milestone May 8, 2019
@gopherbot gopherbot added the gopls Issues related to the Go language server, gopls. label May 8, 2019
@stamblerre stamblerre added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed gopls Issues related to the Go language server, gopls. labels May 8, 2019
@stamblerre stamblerre self-assigned this May 8, 2019
@gopherbot gopherbot added the gopls Issues related to the Go language server, gopls. label May 8, 2019
@stamblerre stamblerre changed the title x/tools/internal/lsp: completion fails in an invalid range statement x/tools/gopls: completion fails in an invalid range statement Jul 2, 2019
@stamblerre stamblerre modified the milestones: Unreleased, gopls unplanned Dec 4, 2019
@gopherbot
Copy link

Change https://golang.org/cl/216482 mentions this issue: internal/lsp/cache: improve completion when missing opening curly

@stamblerre stamblerre modified the milestones: gopls unplanned, gopls completion Jan 29, 2020
@stamblerre stamblerre removed their assignment Jan 29, 2020
@golang golang locked and limited conversation to collaborators Feb 12, 2021
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.
Projects
None yet
Development

No branches or pull requests

2 participants