Closed
Description
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.
case const [1, 2]:
case const {'k': 'v'}:
case const {1, 2}:
case const Point(1, 2):
(but shouldn't.)