-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: ignore packages with all files skipped due to 'package documentation' when matching wildcards #38678
Comments
That comes from the Lines 864 to 867 in 08bf64a
|
This behavior has been present since at least CL 4433047, 9 years ago. We presumably cannot change it at this point, since un-ignoring these files could break existing packages. We would need to gate the change on the I think the most we can do without an invasive breaking change is to document the current behavior. |
I'm not suggesting that these go files should be included in the build. The problem is that |
Ahh, I see what you mean. Thanks for the clarification. |
Hi, may I can take this up? |
@bcmills First time contributor here. Interested in contributing to this issue. Please throw some lights on starting with. Thanks |
@samarthtambad, @sibis: I'm not sure that this would be a good first contribution, unfortunately. The interactions between |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I created go module with a single .go file in it.
What did you expect to see?
go list
command finishing without errorsWhat did you see instead?
go list
fails with strange error.The text was updated successfully, but these errors were encountered: