diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2020-08-25 09:21:59 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-09 17:53:10 -0700 |
commit | d04e4579ec37cb66bc756749bfb7235501225c2f (patch) | |
tree | 2269e04edeee50702d11a74f13b2f19796276b62 /pkg/control | |
parent | 086f085660b73e8ead7ca0bfef5835a6aaad8866 (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 'pkg/control')
0 files changed, 0 insertions, 0 deletions