protobuf-go/internal/testprotos/legacy
Joe Tsai 559d47f1da cmd/protoc-gen-go: fix init order for v1 registration
The v1 registration leaks the message types out to the proto package.
When doing that, it must ensure that the reflection data structures
for those types are properly initialized first. We achieve that by
doing v1 registration at the end of the reflection init function.

Change-Id: If6df18df59d05bad50ff39c2eff6beb19e7466cc
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/168348
Reviewed-by: Damien Neil <dneil@google.com>
2019-03-20 04:16:33 +00:00
..
proto2.v0.0.0-20160225-2fc053c5 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto2.v0.0.0-20160519-a4ab9ec5 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto2.v1.0.0-20180125-92554152 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto2.v1.1.0-20180430-b4deda09 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto2.v1.2.0-20180814-aa810b61 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto2.v1.2.1-20181126-8d0c54c1 internal/impl: fix legacy logic to know about the new XXX_OneofWrappers method 2018-11-29 08:04:36 +00:00
proto3.v0.0.0-20160225-2fc053c5 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto3.v0.0.0-20160519-a4ab9ec5 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto3.v1.0.0-20180125-92554152 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto3.v1.1.0-20180430-b4deda09 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto3.v1.2.0-20180814-aa810b61 internal/testprotos/legacy: initial commit 2018-11-13 22:37:52 +00:00
proto3.v1.2.1-20181126-8d0c54c1 internal/impl: fix legacy logic to know about the new XXX_OneofWrappers method 2018-11-29 08:04:36 +00:00
legacy.pb.go cmd/protoc-gen-go: fix init order for v1 registration 2019-03-20 04:16:33 +00:00
legacy.proto internal/cmd/generate-protos: initial commit 2019-03-01 20:47:52 +00:00