Nullability promotion after bool field access in an if
with a coalesce
#2295
Labels
state-duplicate
This issue or pull request already exists
It would be great if the analyzer was able to promote a type after a bool is accessed on a nullable reference and defaulted.
Example:
It can already handle longer version well:
Not very important, but would be nice.
Dart SDK 2.17.1
The text was updated successfully, but these errors were encountered: