protobuf-go/internal/testprotos/test
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
..
weak1 cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
weak2 cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
ext.pb.go all: unify protoV1.ExtensionDesc and proto.ExtensionType 2019-08-20 21:32:57 +00:00
ext.proto all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
test_import.pb.go cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
test_import.proto all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
test_public.pb.go cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
test_public.proto all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
test.pb.go cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
test.proto internal/impl: treat a nil oneof wrapper as if it were unset 2019-08-16 00:24:53 +00:00