summaryrefslogtreecommitdiffhomepage
path: root/tools/go_marshal/test/test.go
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2020-08-25 09:21:59 -0700
committerAndrei Vagin <avagin@gmail.com>2020-09-09 17:53:10 -0700
commitd04e4579ec37cb66bc756749bfb7235501225c2f (patch)
tree2269e04edeee50702d11a74f13b2f19796276b62 /tools/go_marshal/test/test.go
parent086f085660b73e8ead7ca0bfef5835a6aaad8866 (diff)
[go-marshal] Support marshalling for structs with names starting with W.
Due to how marshallable interface implementation was generated, we could not marshal a struct whose named started with W because there was a naming collision with parameter (w io.Writer) and type (w *StuctName). Used "writer" as parameter name to avoid collision. PiperOrigin-RevId: 328343930
Diffstat (limited to 'tools/go_marshal/test/test.go')
0 files changed, 0 insertions, 0 deletions