-
Notifications
You must be signed in to change notification settings - Fork 264
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
impl ... for ...
doesn't generate code
#1894
Comments
Hi! Thanks for opening your first issue here! 😄 |
impl ... for ...
doesn't generate code
Hi, yes this is not scanned currently, but it may not be hard to implement it (since |
Close since implemented :) |
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
Implementing a public trait (tested with
Default
) for a rust struct doesn't generate corresponding dart code.Steps to reproduce
flutter_rust_bridge_codegen generate && flutter pub get
simple.dart
) contains the staticA.new_instance
method but nodefault
method. The new method works as expectedLogs
Expected behavior
I expect the generator to either:
default
method in theA
dart class (prefered)Generated binding code
No response
OS
Arch Linux
Version of
flutter_rust_bridge_codegen
No response
Flutter info
Version of
clang++
17.0.6 (clang --version)
Additional context
No response
The text was updated successfully, but these errors were encountered: