diff options
Diffstat (limited to '')
-rw-r--r-- | dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/generics/changed_param.test | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/generics/changed_param.test b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/generics/changed_param.test new file mode 100644 index 0000000..8415e48 --- /dev/null +++ b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/generics/changed_param.test @@ -0,0 +1,25 @@ +mod=example.com/generics +base=v0.0.1 +-- want -- +# example.com/generics/a +## incompatible changes +Foo: changed from Foo[V any] to Foo[V Number] +## 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 +} |