We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Flutter 3.22.1 Dart 3.4.1
packages: riverpod and fpdart
I use unnecessary_await_in_return lint
unnecessary_await_in_return
Code:
if await is removed in first image, it doesn't throw like intended.
The text was updated successfully, but these errors were encountered:
Known issue. The await is not unnecessary if you are returning a future inside a try/catch, because of a long-standing bug in returning futures.
await
try
catch
See: #44395
Sorry, something went wrong.
No branches or pull requests
Flutter 3.22.1
Dart 3.4.1
packages: riverpod and fpdart
I use
unnecessary_await_in_return
lintCode:
if await is removed in first image, it doesn't throw like intended.
The text was updated successfully, but these errors were encountered: