Closed dbsxdbsx closed 1 year ago
I hope someone could test the multi_test with API contains String as input parameter, to see if CI test passed or not.
Feel free to add a test into the CI, so next time nobody can break the feature you have created :) (I always ensure CI passes before merging any PR.)
As for the bug itself, maybe we can bisect frb so we will know which commit/PR cause the regression
As for the bug itself, maybe we can bisect frb so we will know which commit/PR cause the regression
I think it needed to check if the string parameter is ok with the multiple blocks example, first. But I have no idea what is wrong here with the CI test. I just added some API with string parameters.
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
With frb 1.49.0 on win10, Flutter 3.4.4, the project I test with generation code in
justfile
:It is easy to see there are 3 blocks of rust modules. But it seems that it can't generate code successfully with the command
just
:The command indeed finished, but with the log above during generation, I guess these should not appear, right? Moreover, when checking the generated dart code, say class of
RuleApi
ingened_rule_api.dart
:It raised an issue on word
RuleApi
, saying: `"Classes and mixins can only implement other classes and mixins. Try specifying a class or mixin, or remove the name from the list." And there are many other issues:Codegen logs with
RUST_LOG=debug
environment variableTo Reproduce
No response
Expected behavior
No response
Generated binding code
No response
OS
win10
Version of
flutter_rust_bridge_codegen
1.49.0
Flutter info
Flutter 3.4.4
Version of
clang++
No response
Version of
ffigen
6.1.2
Additional context
Since the SEVERE ISSUE is related to
wire_uint_8_list
, and this is the inner type of rustString
. I hope someone could test the multi_test with API contains String as input parameter, to see if CI test passed or not.