• Robert Griesemer's avatar
    go/doc: enable AllMethods flag (and fix logic) · 3c6bebf5
    Robert Griesemer authored
    - enable AllMethods flag (default: not set)
    - fix logic determining which methods to show
    - added respective test case in testdata/e.go for AllMethods = false
    - added test case set for AllMethods = true
    
    The critical changes/files to look at are:
    - testdata/e{0,1,2}.golden: T4.M should only show up as method of T5 in e2.golden
    - reader.go: always include top-level methods, and negate former logic for embedded methods
      (rewrote as a switch for better comprehensability)
    
    Fixes #2791.
    
    R=rsc, rsc
    CC=golang-dev
    https://golang.org/cl/5576057
    3c6bebf5
Name
Last commit
Last update
..
buildscript Loading commit data...
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.ctool Loading commit data...
Make.inc Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
buildinfo.sh Loading commit data...
buildscript.sh Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...