segmentio / stats

Go package for abstracting stats collection
https://godoc.org/github.com/segmentio/stats
MIT License
208 stars 32 forks source link

tag: fix build #156

Closed kevinburkesegment closed 10 months ago

kevinburkesegment commented 10 months ago

On tip (the Go 1.22 code freeze), Go reports that compareTag has the wrong method signature:

type func(a Tag, b Tag) int of tagCompare does not match inferred type func(a Tag, b Tag) bool for func(a E, b E) bool

Fix this by using the correct method signature.

kevinburkesegment commented 10 months ago

turns out we needed to update the x/exp dependency, which has been done.