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/cmd/godoc: comment listed before signature, not after #18150
Labels
Milestone
Comments
artyom
changed the title
godoc http server: comment listed before signature, not after
x/tools/cmd/godoc: comment listed before signature, not after
Dec 1, 2016
We only meant to do that for types, not for all things. |
Looks like it was semi-intentional: |
Semi. We wanted it for that case and types at least. But not funcs. |
Chris, you got this one? |
CL https://golang.org/cl/34332 mentions this issue. |
I was going to do it this afternoon but @griesemer beat me to it. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
godoc -http=127.0.0.1:6060
What did you expect to see?
Function signature located between title and description/comment as here: https://golang.org/pkg/net/http/#Server.ListenAndServe
What did you see instead?
Function signature listed after description.
Does this issue reproduce with the latest release (go1.7.3)?
No
System details
The text was updated successfully, but these errors were encountered: