blob: e989e5a2be4ef7ce2ecd9de5b192dd9228819484 [file] [log] [blame]
mod=example.com/generics
base=v0.0.1
-- want --
# example.com/generics/a
## incompatible changes
Foo[V any].Value: changed from func() V to func() any
## compatible changes
Number: added
# summary
Suggested version: v0.1.0
-- go.mod --
module example.com/generics
go 1.18
-- a/a.go --
package a
type Number interface {
int64 | float64
}
type Foo[V Number] interface {
Value() any
}