Hi All,
I need to do something that uses both the latest and greatest Thrift compiler
and our older version.
Our IDL files work with the latest compiler except when we try to set a default
value for a struct member by specifying an enum value. With the old compiler
you just used the enum's value name, like this:
struct foo
{
n: int thisStructMember = MyEnumValue5,
}
while the newest compiler requires this:
struct foo
{
n: int thisStructMember = MyEnumName.MyEnumValue5,
}
It seems like the straightest path to supporting both compiler versions would
be to retrofit the syntax requirement of the newest compiler into our old
version, then change our sources to comply. I suspect this would be easier for
me if I could get my hands on the diff that applied the changes for the new
syntax.
Can anyone point me at the JIRA incident for this change?
Thanks,
Rush