linter
linter copied to clipboard
use_build_context_synchronously and try/catch
No warning in that case, though it should be:
try {
await aaa(); // SUCCESS
await bbb(); // FAILURE
} catch (ex, stack) {
await ccc(context);
}
CC @goderbauer
This does look like a legit false negative.
Oops I think a duplicate of https://github.com/dart-lang/linter/issues/3028
Yep. This is a dup. Closing in favor of #3028.