Constant assignments should infer constant constructors #25261
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-duplicate
Closed in favor of an existing report
For example, take this "goldfish" constant Item constructor:
In order to actually make this object constant, I had to opt to using const everywhere, instead of letting Dart infer the need for const. This would not become ambiguous in any way as the item itself, the goldfish, is declared constant.
The text was updated successfully, but these errors were encountered: