thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Treat <ttrea...@gmail.com>
Subject Thrift IDL Definition Ordering
Date Fri, 04 Mar 2016 16:32:46 GMT
Is the Thrift IDL intended to be sensitive to the ordering of definitions?
In Go at least there appear to be a number of compiler issues when types
are referenced before they are defined in the IDL. E.g.:

https://issues.apache.org/jira/browse/THRIFT-3705
https://issues.apache.org/jira/browse/THRIFT-3465
https://issues.apache.org/jira/browse/THRIFT-3553

Digging through the code, I see that types referenced before definition
appear to be parsed as t_typedef with is_forward_typedef() == true, but
this seems to be causing problems with structs.

Thanks,

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message