-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flatc generates invalid rust code [Rust, rustc 1.68.0, linux, master] #7865
Comments
@CasperN can you take a look? |
Please also take a look at #7782 for a similar issue. |
I am pretty sure that's actually the same issue as #7782. It's at least very related, since the core issue is the same (the Since that issue has been open for more than 3 months now with no response, I am not sure when it will be prioritized. If this is a problem for you, I would suggest you switch to planus instead for your rust code. |
Hi all, I create a PR which will fix this issue, it seems that it's because rust namer hadn't dealt with case conversion with union type field |
… (google#7964) Co-authored-by: Derek Bailey <[email protected]>
… (google#7964) Co-authored-by: Derek Bailey <[email protected]>
Running flatc (master or 23.3.3) on rlbot.fbs generates invalid rust code:
The text was updated successfully, but these errors were encountered: