protobuf-go/internal/testprotos/legacy
Joe Tsai ae313d4af3 cmd/protoc-gen-go: fix Reset method
The MessageInfo cache, once set, must not be cleared, otherwise
there exists a *messageState value where the MessageInfo value is nil.
Fix the generation of the Reset method to avoid clearing this value.

Change-Id: Ic84ca8b2640a43e967c36993da1ccd3f2b7096c4
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/201478
Reviewed-by: Damien Neil <dneil@google.com>
2019-10-17 17:10:14 +00:00
..
proto2.v0.0.0-20160225-2fc053c5 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto2.v0.0.0-20160519-a4ab9ec5 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto2.v1.0.0-20180125-92554152 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto2.v1.1.0-20180430-b4deda09 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto2.v1.2.0-20180814-aa810b61 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto2.v1.2.1-20181126-8d0c54c1 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto3.v0.0.0-20160225-2fc053c5 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto3.v0.0.0-20160519-a4ab9ec5 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto3.v1.0.0-20180125-92554152 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto3.v1.1.0-20180430-b4deda09 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto3.v1.2.0-20180814-aa810b61 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
proto3.v1.2.1-20181126-8d0c54c1 internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00
legacy.pb.go cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
legacy.proto internal/protolegacy: add stub v1 proto package for testing purposes 2019-10-05 23:12:32 +00:00