Spurious analyzer diagnostic about a Null value when using a function expression in a const context #47603
Labels
analyzer-constants
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Analyzer will report 2 errors, one of which is expected, and one which is distracting and confusing.
Expected error:
Unexpected error:
The text was updated successfully, but these errors were encountered: