Type promotion issue with nullable functions #60632
Labels
area-dart-model
For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.
model-flow
Implementation of flow analysis in analyzer/cfe
Here is a condensed example of the problem.
Even moving the promotion inside the returned function fails:
But this works:
and this as well:
dart info
The text was updated successfully, but these errors were encountered: