x/xerrors: tests broken (via vet error) with go1.15rc1 #40536
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
The issue is present in the latest release candidate, go1.15rc1. It is a regression from the latest release, go1.14.6.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I expected the tests for the golang.org/x/errors package to succeed without errors.
What did you see instead?
A new vet check in Go 1.15, enabled by default when running tests, detects what looks like a bug in a type that x/xerrors defines for the purpose of testing itself. https://github.com/golang/xerrors/blob/9bdfabe68543/fmt_test.go#L398
The text was updated successfully, but these errors were encountered: