• Daniel Martí's avatar
    cmd/vet: rewrite method check to use go/types · 62b850f1
    Daniel Martí authored
    Now that vet can rely on go/types, there's no reason to do extra work to
    avoid using it. The rewrite lets us get rid of the field list flattening
    code, as well as the slight verbosity that comes with go/printer.
    
    While at it, make the testdata/method.go expected errors be more
    specific, to make sure that we're not breaking the warnings that are
    printed.
    
    Finally, update whitelist/all.txt, since the reported errors now include
    qualified types.
    
    Change-Id: I760a1b3b1f60e4a478c9dc43bd7f584a8459593e
    Reviewed-on: https://go-review.googlesource.com/c/148919
    Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
    Reviewed-by: 's avatarAlan Donovan <adonovan@google.com>
    62b850f1
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...