x/tools/go/analysis/unitchecker: erroras is missing from unitchecker go vet example #35486
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I was looking at the example unitchecker that according to its comments is an example for how to imitate the checks performed by
go vet
in a unitchecker.https://github.com/golang/tools/blob/7c3fd4a/go/analysis/unitchecker/main.go
What did you expect to see?
I expected to see all the same analysis checks in the example as what are in the go vet tool.
What did you see instead?
The
erroras
analysis is missing from the example. It was added togo vet
in 9f76566 but it wasn't added to this example at the same time.The text was updated successfully, but these errors were encountered: