diff options
author | Jens Geyer <jensg@apache.org> | 2022-06-05 11:12:49 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2022-06-06 01:44:16 +0200 |
commit | 0b1eb6bcabebe02d61be614eab0eb6c4d2d972c3 (patch) | |
tree | 74b2844ae9be2817d629d6cb3b694807ee466cd5 /test | |
parent | aad75837f4e12a9b37fd38bee51b96df595997d8 (diff) | |
download | thrift-0b1eb6bcabebe02d61be614eab0eb6c4d2d972c3.tar.gz |
THRIFT-5588 Remove slist/senum from IDL
Patch: Jens Geyer
This closes #2615
Diffstat (limited to 'test')
-rw-r--r-- | test/AnnotationTest.thrift | 8 | ||||
-rw-r--r-- | test/SmallTest.thrift | 10 |
2 files changed, 4 insertions, 14 deletions
diff --git a/test/AnnotationTest.thrift b/test/AnnotationTest.thrift index 925832255..8818e74c5 100644 --- a/test/AnnotationTest.thrift +++ b/test/AnnotationTest.thrift @@ -49,14 +49,6 @@ enum weekdays { SATURDAY ( weekend = "yes" ) } (foo.bar="baz") -/* Note that annotations on senum values are not supported. */ -senum seasons { - "Spring", - "Summer", - "Fall", - "Winter" -} ( foo = "bar" ) - struct ostr_default { 1: i32 bar; } diff --git a/test/SmallTest.thrift b/test/SmallTest.thrift index d0821c7ff..955cdc9a7 100644 --- a/test/SmallTest.thrift +++ b/test/SmallTest.thrift @@ -24,12 +24,6 @@ struct Goodbyez { 1: i32 val = 325; } -senum Thinger { - "ASDFKJ", - "r32)*F#@", - "ASDFLJASDF" -} - struct BoolPasser { 1: bool value = 1 } @@ -52,6 +46,10 @@ exception Goodbye { 3: map<i32, map<i32,i32>> complexer, } +struct Thinger { + 1: i32 dummy +} + service SmallService { Thinger testThinger(1:Thinger bootz), Hello testMe(1:i32 hello=64, 2: Hello wonk) throws (1: Goodbye g), |