unchecked_use_of_nullable_value for a checked nullable callback #44417
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
customer-dart-sass
NNBD
Issues related to NNBD Release
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
When analyzing the following file with NNBD enabled:
I get the following error:
This error seems bogus, since we are specifically are checking
foo != null
. Note that doing the check in anif
statement also exhibits this error.Tested with 2.12.0-110.0.dev.
The text was updated successfully, but these errors were encountered: