Closed poborin closed 2 weeks ago
Looks like a bug and feel free to PR for this! Alternatively I may work on it later. The workaround is to avoid such special names by renaming it.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
Describe the bug
Given the struct contains an escaped name
When the FRB generates a Dart file it contains
r#type
filed while it should have atype
Steps to reproduce
in the Rust code use a reserved name such as:
then run FRB generation
Logs
Expected behavior
No response
Generated binding code
No response
OS
No response
Version of
flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of
clang++
No response
Additional context
No response