cmd/vet: "cannot import, possibly version skew" regression #25596
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Soon
This needs to be done soon. (regressions, serious bugs, outages)
Milestone
What version of Go are you using (
go version
)?Tested using
and
Does this issue reproduce with the latest release?
go1.10.2 and earlier releases do not fail the
go vet
check.What operating system and processor architecture are you using (
go env
)?Tested on:
What did you do?
A recent change on master has caused
go vet
to report an error (..."cannot import, possibly version skew"...) on code that previously passed with go1.10.2, and go-devel versions until recently.Multiple packages seem to be required - at least in the example I distilled:
Create $GOPATH/src/issue/a/a.go:
Create $GOPATH/src/issue/b/b.go:
Then run:
What did you expect to see?
go vet
should not report any errors.What did you see instead?
go vet
reports:Additional information
Bisecting the go project commits since this last passed with go-devel, indicates that the regression appeared with commit c730a93
The text was updated successfully, but these errors were encountered: