THRIFT-1130. compiler: Add the ability to specify symbolic default value for optional boolean
Patch: Nevo Hed
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1183115 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift
index 17b0295..51f42b4 100644
--- a/test/ThriftTest.thrift
+++ b/test/ThriftTest.thrift
@@ -226,3 +226,8 @@
struct NestedListsBonk {
1: list<list<list<Bonk>>> bonk
}
+
+struct BoolTest {
+ 1: optional bool b = true;
+ 2: optional string s = "true";
+}