https://issues.dlang.org/show_bug.cgi?id=12757

--- Comment #3 from yebblies <[email protected]> ---
(In reply to bearophile_hugs from comment #2)
> (In reply to yebblies from comment #1)
> > That's not an array literal, that's either an array initializer or an
> > associative array literal, depending on context.  You can't use an array
> > initializer except when initializing a variable.
> 
> I see. So is this request INVALID and to be closed?

Either that or turn it into an enhancement to allow array initializers to be
used in any array-accepting context instead of just assignment.

--

Reply via email to