protobuf-go/cmd/protoc-gen-go/testdata
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
..
annotations cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
comments cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
extensions cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
fieldnames cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
import_public cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
imports cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
issue780_oneof_conflict cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
nopackage cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
proto2 cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
proto3 cmd/protoc-gen-go: fix Reset method 2019-10-17 17:10:14 +00:00
gen_test.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
go.mod go.mod: update github.com/golang/protobuf 2019-10-04 17:38:12 +00:00
registry_test.go cmd/protoc-gen-go/testdata: add registry test 2019-07-08 20:23:18 +00:00