prefer_void_to_null
should not be reported in a Cast Pattern or an As Expression
#59089
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-false-positive
linter-set-recommended
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Milestone
void
is not allowed in either:So
prefer_void_to_null
should not be reported in those positions.The text was updated successfully, but these errors were encountered: