mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-28 00:19:55 +00:00
6238696abc
Given: package foo extend proto2.bridge.MessageSet { optional Message message_set_extension = 100; } Register the extension as a message set extension and give it the name "foo.". We really shouldn't do this in this case; the special-case treatment of extensions to MessageSet is only for extensions nested in a parent message. However, this is consistent with the behavior of the v1 generator. Match that for now. Change-Id: I919c409605a197904fd3227efc920192d484f431 Reviewed-on: https://go-review.googlesource.com/c/145957 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
protoc-gen-go | ||
protoc-gen-go-grpc |