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
cmd/go: get -d upgrades version for modules in subfolder #48069
Comments
Is this explained by https://golang.org/doc/go1.17#graph-pruning? The way the go command manages module graphs changed substantially in 1.17, and since this example starts with a new If not, please fill out the issue template and add more detail, especially in "What did you expect to see?". |
|
Graph pruning means that in 1.17, after the
This affects the output of
Do you mean when the argument to |
I see the same behaviour in 1.16 as 1.17:
|
OK, I'll close this for now (I repeated the steps above on Go 1.16 and now it behaved differently, which does not make much sense). I will get back to you when I find out what the real issue is
That is not even mentioned in Anyhow, I will get back with a more stable test case. |
It is mentioned as the first example:
|
You are all right, I'm sorry. My issue was something completely different. |
This worked as expected in Go 1.16.7.
Doing the same with
go1.16.7
:The text was updated successfully, but these errors were encountered: