List.fold generic type parameters not inferred #25491
Labels
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
The code below produces the following error:
Suggesting that we are not successfully inferring the generic type parameters for
fold
. I would have thought we would be catching this. I don't think this is an instance of #25490, but maybe an interaction between the upwards inference on the arguments and the downwards inference on the closure parameter?The text was updated successfully, but these errors were encountered: