Bogdan Drutu created THRIFT-5690:
------------------------------------
Summary: 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
```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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)