Summary
Permit collection expressions in "immediately enumerated" contexts, without requiring a target type.
foreach (bool b in [true, false])
{
doMyLogicWith(b);
}
string[] items1 = ["a", "b", .. ["c"]];
string[] items2 = ["a", "b", .. includeRest ? ["c", "d"] : []];
See also #9739.
Design meetings