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

cmd/vet: unexpected package-level comment in dead.go #22263

Closed
pto opened this issue Oct 14, 2017 · 1 comment
Closed

cmd/vet: unexpected package-level comment in dead.go #22263

pto opened this issue Oct 14, 2017 · 1 comment

Comments

@pto
Copy link

pto commented Oct 14, 2017

The comments at the start of src/cmd/vet/dead.go don't have completely blank lines so they are treated as package-level documentation.

What did you do?

go doc vet

What did you expect to see?

Package-level documentation

What did you see instead?

The Go Authors copyright message and "Simplified dead code detector. Used for skipping certain checks on unreachable code (for instance, shift checks on arch-specific code)."

System details

master branch

@ianlancetaylor
Copy link
Contributor

Thanks. This was already fixed by https://golang.org/cl/65630.

@golang golang locked and limited conversation to collaborators Oct 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants