-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-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-assistIssues with analysis server assistsIssues with analysis server assiststype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Today we have the following assits in this code:
void foo(List<int>? o) {
if (o is List && o!.isEmpty) {} // Split && condition
}
I'm proposing we allow the same behaviour to work with case ... when
so we split the when
expression to an inner if.
CC @bwilkerson
Metadata
Metadata
Assignees
Labels
P3A lower priority bug or feature requestA lower priority bug or feature requestarea-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-assistIssues with analysis server assistsIssues with analysis server assiststype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug