diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2020-08-25 09:21:59 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-25 09:23:41 -0700 |
commit | 46485f9d473b849e3780af8b757244dde3deacf9 (patch) | |
tree | 2269e04edeee50702d11a74f13b2f19796276b62 /scripts | |
parent | ae332d96e4bd8b37be16901317d83e24e31c24d7 (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 'scripts')
0 files changed, 0 insertions, 0 deletions