Jens-G commented on PR #3555: URL: https://github.com/apache/thrift/pull/3555#issuecomment-4590491497
## Problems: ### The generated recursive types are mostly unusable in Swift - pre-existing, not part of THRIFT-6050 - CoUnion/CoUnion2 don't even compile — recursive Swift enums must be marked indirect; the generator doesn't. (Confirmed with the compiler.) - CoRec/CoError/RecList have non-optional recursive fields (var other: CoError2, required init param) → they can never be constructed (no base case to bootstrap). - Only RecTree (list-of-self, list can be empty) is actually constructible. ### No CI gate: broken and disabled CI - THRIFT-5864 — "broken, no maintainers" - Package is swift-tools:5.1 (no build plugins), ## Decision Bad day for Swift. Close the PR and fugetabodit. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
