-
Notifications
You must be signed in to change notification settings - Fork 305
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
fix: support for Result<T, E> with exception throwing on Dart #1325
Conversation
Great job! So maybe we should fix Valgrind before having a review? |
The issues with Valgrind doesn't seem to be related to this PR, since it's broken since this commit 2e01d4a |
Ok, then let me rerun it firstly... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! Ready to merge after some nits
Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
All the nits have been fixed. |
Looks great! I will check soon |
Related: #1327 |
As mentioned there, the Valgrind issue blocks this PR from merging, but I am really busy and have to squeeze some time to review this PR, let alone time for fixing that. Do you have some interest in digging a bit further about that error :) |
I'm also looking into this issue, I guess it's an environment change that caused the Valgrind test to fail, not directly related to these two PRs. |
Totally agree, since the failing commit is completely unrelated |
I guess so, because mine also failed recently. |
I would like to take the risk and firstly merge this PR, and then fix Valgrind later... Since our Valgrind does not check a lot currently (since even simplest hello world dart program triggers invalid memory access so that part is disabled) |
@all-contributors please add @SiongSng for code |
@all-contributors please add @JustSimplyKyle for code |
I've put up a pull request to add @JustSimplyKyle! 🎉 |
fix: support for Result<T, E> with exception throwing on Dart
Changes
Continue #582
Fixes #533
Fixes #1070
Checklist
./frb_example/pure_dart
example, more specifically,rust/src/api.rs
anddart/lib/main.dart
.just precommit
)../book
folder) are updated.Remark for PR creator
justfile
in your project directory. You can use Justfile after installing it. Note that commands written injustfile
of this repository are expected to be run inbash
, notcmd
orpowershell
. Runningjust ...
commands incmd
orpowershell
will produce errors as the syntax is not compatible. On Windows, you can usegit bash
if you have Git installed.