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_return.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/generics/changed_return.test b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/generics/changed_return.test new file mode 100644 index 0000000..1592d64 --- /dev/null +++ b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/generics/changed_return.test @@ -0,0 +1,19 @@ +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() int + +# summary +Suggested version: v0.1.0 +-- go.mod -- +module example.com/generics + +go 1.18 +-- a/a.go -- +package a + +type Foo[V any] interface { + Value() int +} |