Fix setter/field collisionsnightly-2023.03.13
commitae3e3971658d3fdfd6167f6304da6dbbcab79a9e
authorJack Chistyakov <jchistyakov@meta.com>
Sun, 12 Mar 2023 22:36:01 +0000 (12 15:36 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sun, 12 Mar 2023 22:36:01 +0000 (12 15:36 -0700)
treed59df7652edfc9d1326eb16d2a366eced6a69c78
parentfdd040c4743ea09a1ef92810f95d312fa6324ef4
Fix setter/field collisions

Reviewed By: leoleovich

Differential Revision: D43966952

fbshipit-source-id: de95e58d364e52ca1ded9e40398a6bd0697fe86f
third-party/thrift/src/thrift/compiler/generate/t_mstch_go_generator.cc
third-party/thrift/src/thrift/compiler/generate/templates/go/types/struct_default.mustache
third-party/thrift/src/thrift/compiler/generate/templates/go/types/struct_methods.mustache
third-party/thrift/src/thrift/compiler/lib/go/util.cc
third-party/thrift/src/thrift/compiler/lib/go/util.h