diff options
| author | Andrei Vieru <euvieru@gmail.com> | 2010-04-15 09:50:37 -0700 | 
|---|---|---|
| committer | Andrei Vieru <euvieru@gmail.com> | 2010-04-15 09:50:37 -0700 | 
| commit | 2d20a210e4dd27c83b43dc9f72d02ecfecd203fa (patch) | |
| tree | 28eddfd32c04642a5907e9efaebf947c1cacbde2 /src/pkg/exp/eval/expr_test.go | |
| parent | b055d4cc1313b6c551773a3385476a332b02cabf (diff) | |
| download | golang-2d20a210e4dd27c83b43dc9f72d02ecfecd203fa.tar.gz | |
"godoc -src pkg_name" excludes duplicates entries
$ godoc xml | grep Copy\(\)
func (c CharData) Copy() CharData
func (c Comment) Copy() Comment
func (d Directive) Copy() Directive
func (p ProcInst) Copy() ProcInst
func (e StartElement) Copy() StartElement
--------------------------------------------
$ godoc -src xml | grep Copy\(\)
func (c CharData) Copy() CharData
--------------------------------------------
$ godoc -src xml Copy
func (c CharData) Copy() CharData { return CharData(makeCopy(c)) }
--------------------------------------------
The command "godoc -src pkg_name" should output the interface of the named package, but it excludes all duplicate entries. Also the command "godoc -src pkg_name method_name" will output the source code only for one method even if there are more of them with the same name in the same package. This patch set fixes this issue.
R=gri
CC=golang-dev
http://codereview.appspot.com/883051
Committer: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/pkg/exp/eval/expr_test.go')
0 files changed, 0 insertions, 0 deletions
