Improve the error message for assignment to final local variables #30490
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
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Given the following code:
Analyzer produces an error message that discusses the absence of a setter, but local variables do not induce getters and setters, so the error is confusing.
The text was updated successfully, but these errors were encountered: