You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: