protobuf-go/internal/testprotos/legacy
Joe Tsai af57087245 reflect/protoregistry: provide more informative errors for conflicts
The v2 implementation strictly enforces that there are no conflicts at
all in the protobuf namespace unlike the prior v1 implementation.
This change is almost certainly going to cause loud failures for users
that were unknowingly tolerating registration conflicts.

We modify internal/filedesc to be able to record the Go package path
that the file descriptor is declared within. This information is used
by reflect/protoregistry to print both the previous Go package that
registered some declaration, and current Go package that is attempting
to register some declaration.

Change-Id: Ib5eb21c1c98495afc51aa08bd4404bd9d64b5b57
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/186177
Reviewed-by: Damien Neil <dneil@google.com>
2019-07-15 20:39:24 +00:00
..
proto2.v0.0.0-20160225-2fc053c5 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto2.v0.0.0-20160519-a4ab9ec5 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto2.v1.0.0-20180125-92554152 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto2.v1.1.0-20180430-b4deda09 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto2.v1.2.0-20180814-aa810b61 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto2.v1.2.1-20181126-8d0c54c1 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto3.v0.0.0-20160225-2fc053c5 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto3.v0.0.0-20160519-a4ab9ec5 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto3.v1.0.0-20180125-92554152 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto3.v1.1.0-20180430-b4deda09 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto3.v1.2.0-20180814-aa810b61 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
proto3.v1.2.1-20181126-8d0c54c1 all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
legacy.pb.go reflect/protoregistry: provide more informative errors for conflicts 2019-07-15 20:39:24 +00:00
legacy.proto all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00