• Agniva De Sarker's avatar
    go/doc: tune factory method association logic · 449e2f0b
    Agniva De Sarker authored
    Ignore predeclared types (such as error) in result parameter lists when determining
    with which result type a method should be associated with. This change will again
    associate common factory functions with the first result type even if there are more
    than one result, as long as the others are predeclared types.
    
    Fixes #27928
    
    Change-Id: Ia2aeaed15fc4c8debdeeaf729cc7fbba1612cafb
    Reviewed-on: https://go-review.googlesource.com/c/141617
    Run-TryBot: Robert Griesemer <gri@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
    449e2f0b
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...