Improve error message for typo in setter name #48603
Labels
analyzer-ux
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Code like this:
gives error:
which is a little confusing, as the type is clearly defined above. It took me a long while to find out what is the actual issue (I first thought incorrect import / conflicting names imported).
It also causes analyzer to highlight all the places except where the actual problem is:
The text was updated successfully, but these errors were encountered: