thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer" <>
Subject Re: Thrift IDL Definition Ordering
Date Sat, 05 Mar 2016 19:10:42 GMT
Hi Tyler,

I think your are right, after looking at THRIFT-3705 yesterday.
That should not be the case and is unexpected, so it's probably safe to call 
it a bug.

If you think you can propose a patch, don't hesitate.

Have fun,

-----Urspr√ľngliche Nachricht----- 
From: Tyler Treat
Sent: Friday, March 4, 2016 5:32 PM
Subject: Thrift IDL Definition Ordering

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.:

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.


View raw message