-
Notifications
You must be signed in to change notification settings - Fork 18k
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: add directness to gopls's CommandAddDependency #38914
Comments
The extra dependencies are now suggested, but they are not labeled as |
We have a test case in https://github.com/golang/tools/blob/4fc0492b8eca8657dd80eff56bf885b7258ddd73/gopls/internal/regtest/modfile_test.go#L402 that verifies that dependencies like this are added without an |
Yeah, it looks like the comment on the test doesn't actually match what the test checks for. |
I added the comment recently because I didn't understand what was going on. I will change the behavior to match my expectations. |
Change https://golang.org/cl/267578 mentions this issue: |
Repro case:
Running
go mod tidy
results in:The text was updated successfully, but these errors were encountered: