diff options
author | Bryan Duxbury <bryanduxbury@apache.org> | 2009-11-09 15:55:22 +0000 |
---|---|---|
committer | Bryan Duxbury <bryanduxbury@apache.org> | 2009-11-09 15:55:22 +0000 |
commit | 2845b16eb24fc66d34f66c776400354225e70bad (patch) | |
tree | d3343b4fd1946cd672c08b7aa37e0ff594961a53 /test/DebugProtoTest.thrift | |
parent | 6731b57b582badaa3fca91e6ac54bf18cd2cf0f7 (diff) | |
download | thrift-2845b16eb24fc66d34f66c776400354225e70bad.tar.gz |
THRIFT-565. java: Structs containing typedefs for incomparable objects will be considered comparable
This patch causes the compiler to fully unwrap typedefs when determining comparability.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@834119 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/DebugProtoTest.thrift')
-rw-r--r-- | test/DebugProtoTest.thrift | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/DebugProtoTest.thrift b/test/DebugProtoTest.thrift index 9b3952e6c..48df1fc8c 100644 --- a/test/DebugProtoTest.thrift +++ b/test/DebugProtoTest.thrift @@ -271,4 +271,10 @@ struct PrimitiveThenStruct { 1: i32 blah; 2: i32 blah2; 3: Backwards bw; +} + +typedef map<i32,i32> SomeMap + +struct StructWithASomemap { + 1: required SomeMap somemap_field; }
\ No newline at end of file |