protobuf-go/cmd/protoc-gen-go/testdata/nopackage
Damien Neil a8593bae57 reflect/protoreflect: drop the ProtoEnum type
Drop the protoreflect.ProtoEnum type (containing a single method
returning a protoreflect.Enum) and make generated enum types
directly implement protoreflect.Enum instead.

Messages have a two-level type split (ProtoMessage and Message) to
minimize conflicts between reflection methods and field names. Enums
need no such split, since enums do not have fields and therefore have
no source of conflicts.

Change-Id: I2b6222e9404253e6bfef2217859e1b760ffcd29b
Reviewed-on: https://go-review.googlesource.com/c/156902
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
2019-01-09 00:40:35 +00:00
..
nopackage.pb.go reflect/protoreflect: drop the ProtoEnum type 2019-01-09 00:40:35 +00:00
nopackage.proto reflect/prototype: fix name resolution when file has no package name 2018-10-16 16:16:46 +00:00