unnecessary_null_checks
should have tests with object patterns
#59085
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
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 null-asserting at
b!
is unnecessary because the variable type isint?
.The text was updated successfully, but these errors were encountered: