You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it is worth making it not compile, as it has no material impact on the generated Rust code. Xdrgen is not focused on being an exact-perfect implementation of XDR, but a practical / product one. There are also a many other ways that xdrgen and xdrc differ in what they allow and support (non-option circular refs, enum variants, union default arms, and others), so making this one case not compile would not holistically address the real issue.
compiles successfully but breaks xdrc due to the repeated x
The real issue of why this is inconvenient is that we make changes to the XDR without checking if the change compiles across all the generators we use in the Stellar ecosystem. It might be worth addressing that.
What problem does your feature solve?
compiles successfully but breaks xdrc due to the repeated
x
. The fix for a real example that broke stellar-core can be seen in stellar/stellar-xdr#20.What would you like to see?
This shouldn't compile.
What alternatives are there?
TODO
The text was updated successfully, but these errors were encountered: