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,

Reply via email to