-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagedevexp-pkg-metaIssues related to package:metaIssues related to package:metatype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Pattern-matching with MapEntry is very satisfying, but when always_specify_types is on, it's kinda awful.
final List<String> list = <String>[
for (final MapEntry<KeyClass, ValueClassWithAVeryLongName>(:KeyClass key, :ValueClassWithAVeryLongName value) in map.entries)
'$key, $value',
];I'd much prefer not needing to add the type parameters here:
final List<String> list = <String>[
for (final MapEntry(:KeyClass key, :ValueClassWithAVeryLongName value) in map.entries)
'$key, $value',
];Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-linterIssues with the analyzer's support for the linter packageIssues with the analyzer's support for the linter packagedevexp-pkg-metaIssues related to package:metaIssues related to package:metatype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug