diff options
author | John Boiles <johnaboiles@gmail.com> | 2019-06-13 10:49:45 -0700 |
---|---|---|
committer | Duru Can Celasun <dcelasun@apache.org> | 2019-06-13 19:49:45 +0200 |
commit | 5eef01f231b1e7b33d1ebfb65aeb136f851b350b (patch) | |
tree | 7ba9bc2945275c39aac2bf252b729c82725de8b9 /test/ThriftTest.thrift | |
parent | 19fdca82c2e61bd42f92a502a91a07b9dc74b5d2 (diff) | |
download | thrift-5eef01f231b1e7b33d1ebfb65aeb136f851b350b.tar.gz |
THRIFT-4868: Fix Go compilation for optional sets with default values (#1802)
Client: go
Diffstat (limited to 'test/ThriftTest.thrift')
-rw-r--r-- | test/ThriftTest.thrift | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift index d1e6b5eea..99a15ff99 100644 --- a/test/ThriftTest.thrift +++ b/test/ThriftTest.thrift @@ -409,3 +409,7 @@ struct StructB { 1: optional StructA aa; 2: required StructA ab; } + +struct OptionalSetDefaultTest { + 1: optional set<string> with_default = [ "test" ] +} |