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: incorrect signature help for method expressions #51155

Open
findleyr opened this issue Feb 11, 2022 · 0 comments
Open

x/tools/gopls: incorrect signature help for method expressions #51155

findleyr opened this issue Feb 11, 2022 · 0 comments
Labels
gopls NeedsInvestigation Tools
Milestone

Comments

@findleyr
Copy link
Contributor

@findleyr findleyr commented Feb 11, 2022

Gopls shows the method signature rather than receiver type as the first parameter type in signatureHelp on method expressions:

image

This screenshot should instead show X.n(X, string) or n(X, string). Notably, the associated diagnostic shows the correct signature.

@gopherbot gopherbot added Tools gopls labels Feb 11, 2022
@gopherbot gopherbot added this to the Unreleased milestone Feb 11, 2022
@hyangah hyangah added the NeedsInvestigation label Feb 14, 2022
@hyangah hyangah removed this from the Unreleased milestone Feb 14, 2022
@hyangah hyangah added this to the gopls/on-deck milestone Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls NeedsInvestigation Tools
Projects
None yet
Development

No branches or pull requests

3 participants