Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.9
-
None
-
None
Description
Thrift accept structs with a duplicate field name if the IDs are different. However, the generated java code does not compile.
struct duplicate { 1: i32 field, 2: i32 field }
private static final org.apache.thrift.protocol.TField FIELD_FIELD_DESC = ... private static final org.apache.thrift.protocol.TField FIELD_FIELD_DESC = ...
Attachments
Attachments
Issue Links
- duplicates
-
THRIFT-1603 Thrift IDL allows for multiple exceptions, args or struct member names to be the same
- Closed