]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: use types to test Error methods correctly.
authorRob Pike <r@golang.org>
Sat, 23 Feb 2013 01:16:31 +0000 (17:16 -0800)
committerRob Pike <r@golang.org>
Sat, 23 Feb 2013 01:16:31 +0000 (17:16 -0800)
commit4434212f1558c124e1823d3d7279ed63a71a31b8
tree0bb8c1730eb3021e43577d855ee9537c67e7cac0
parentd31dd089e6aae3c4f8001c409657efa7701bca1c
cmd/vet: use types to test Error methods correctly.
We need go/types to discriminate the Error method from
the error interface and the Error method of the testing package.
Fixes #4753.

R=golang-dev, bradfitz, gri
CC=golang-dev
https://golang.org/cl/7396054
src/cmd/vet/main.go
src/cmd/vet/print.go