Closed FireAndIceFrog closed 1 year ago
Hi! Thanks for opening your first issue here! :smile:
Yes it does not support generic yet. But feel free to PR!
Id love to, but it seems quite complex! Any ideas where to start? I havent done much work on lexical analysis/transpiling :/
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
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
All generic types Ive tried setting up throw an error
`pub fn start(file_path: String) -> GenericType {
GenericType {
item: 1,
}
}
pub struct GenericType { pub item: U }`
Codegen logs with
RUST_LOG=debug
environment variableTo Reproduce
use this code:
Expected behavior
dart code gets generated instead of throwing error
Generated binding code
OS
windows
Version of
flutter_rust_bridge_codegen
1.48.1
Flutter info
No response
Version of
clang++
No response
Version of
ffigen
7.0
Additional context
No response