x/exp/cmd/apidiff: reports bogus changes between identical export data #67051
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.22.0 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I am running
apidiff -w
twice, then compare the exported data. Specific steps:git checkout 17854f0e0a153b06f9d0db096e2cd8ab2fa89c11
(or later - needs to include kubernetes/kubernetes@0c7370b).go install golang.org/x/exp/cmd/apidiff@v0.0.0-20240416160154-fe59bbe5cc7f
(current latest)apidiff -m -w /tmp/after.out ./staging/src/k8s.io/client-go
apidiff -m /tmp/after.out /tmp/after.out
(same file!)What did you see happen?
Note that e.g.
type BucketRateLimiter = TypedBucketRateLimiter[any]
. There is noTypedBucketRateLimiter[T comparable]
.What did you expect to see?
No changes because the exported data is identical.
The text was updated successfully, but these errors were encountered: