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: support the godebug directive in go.mod and go.work files #67583

Closed
findleyr opened this issue May 22, 2024 · 1 comment
Closed
Assignees
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@findleyr
Copy link
Member

This issue tracks minimal support for the godebug directive in go.mod and go.work files, added recently in #65573.

I think we need to:

  1. Write (failing) tests that no diagnostics are produced in the presence of these directives.
  2. Update x/mod, which should make these diagnostics go away.
  3. (optional) Verify with a test that we surface diagnostics if godebug is used in go.mod files with older go versions.
@findleyr findleyr added this to the gopls/v0.16.0 milestone May 22, 2024
@gopherbot 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 May 22, 2024
@findleyr findleyr self-assigned this May 23, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/588055 mentions this issue: gopls: initial support for godebug directive in go.mod and go.work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

2 participants