update unnecessary_const
to not flag const
s in case expressions (required for patterns migration)
#59029
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-new-language-feature
linter-set-recommended
P1
A high priority bug; for example, a single project is unusable or has many test failures
Milestone
More context in https://github.com/dart-lang/linter/issues/4044.
TL;DR some fixes to support safe 3.0 migration will get flagged as having
unnecessary_const
s.(but shouldn't.)
The text was updated successfully, but these errors were encountered: