unnecessary_nullable_for_final_variable_declarations
should have tests with patterns
#59084
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-false-negative
linter-new-language-feature
linter-set-recommended
P2
A bug or feature request we're likely to work on
Milestone
Child issue of #58837
I think there should be a test case like:
in which the lint rule would report that all three of the types are unnecessarily nullable.
The text was updated successfully, but these errors were encountered: