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

godoc math Log - does not show doc comment for Log #642

Closed
rsc opened this issue Mar 4, 2010 · 3 comments
Closed

godoc math Log - does not show doc comment for Log #642

rsc opened this issue Mar 4, 2010 · 3 comments

Comments

@rsc
Copy link
Contributor

rsc commented Mar 4, 2010

src/pkg/math has two declarations of func Log:
in log.go (with comment) and log_decl.go (without).

There are other instances of this throughout the tree.
If there are two declarations but only one comment,
that comment should be used instead of no comment.

I think this used to work.
@griesemer
Copy link
Contributor

Comment 1:

Status changed to Started.

@griesemer
Copy link
Contributor

Comment 2:

The problem is that there are multiple declarations of the same function header in 
different files. Depending on which file/function is looked at first/last, the comment 
(and the function) is present or not. A simple solution is to keep at least one decl.
with 
a comment if there's one. A better solution is to collect them all.

@griesemer
Copy link
Contributor

Comment 3:

This issue was closed by revision 9a65a06.

Status changed to Fixed.

@rsc rsc added the fixed label Mar 5, 2010
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
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