[ https://issues.apache.org/jira/browse/THRIFT-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-5690: ------------------------------- Description: {code} struct Test { 10: optional Foo foo = {}; } struct Foo { 10: optional string bar; } {code} Tried with thrift 0.18.0/0.18.1 {code} [ERROR] thrift failed output: Type "Foo" not defined {code} Best guess can be related with https://issues.apache.org/jira/browse/THRIFT-5626 was: ```thrift struct Test { 10: optional Foo foo = {}; } struct Foo { 10: optional string bar; } ``` Tried with thrift 0.18.0/0.18.1 ``` [ERROR] thrift failed output: Type "Foo" not defined ``` Best guess can be related with https://issues.apache.org/jira/browse/THRIFT-5626 > Type not defined when type defined after use > -------------------------------------------- > > Key: THRIFT-5690 > URL: https://issues.apache.org/jira/browse/THRIFT-5690 > Project: Thrift > Issue Type: Bug > Reporter: Bogdan Drutu > Priority: Major > > {code} > struct Test { > 10: optional Foo foo = {}; > } > struct Foo { > 10: optional string bar; > } > {code} > Tried with thrift 0.18.0/0.18.1 > {code} > [ERROR] thrift failed output: Type "Foo" not defined > {code} > Best guess can be related with > https://issues.apache.org/jira/browse/THRIFT-5626 -- This message was sent by Atlassian Jira (v8.20.10#820010)