Dartanalyzer allows fields override in a strong mode for mixins #27452
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
soundness
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
In a strong mode it is prohibited to override fields. Therefore Analyzer in a strong mode reports an error for the following code
Analyzer output in this case is
But it doesn't report any issues for the following code
It should be the same error in the case above.
Tested on dartanalyzer version 1.20.0-dev.7.0
The text was updated successfully, but these errors were encountered: