Unactionable "has inferred type" hint with typedefs #24710
Labels
analyzer-ux
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
I don't know what the analyzer wants me to do here. Give it a pat on the head? (Apologies if this is one of the strong mode hints that was recently removed. We haven't yet revved the SDK.)
I think my ideal resolution here would be to replace this hint with a warning that fires whenever you have an implied type (e.g. when you haven't specialised a list literal, or when you call the Map constructor without specialising it, or when you use
var
or don't explicitly type a property or argument).The text was updated successfully, but these errors were encountered: