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

--- Comment #4 from Nick Treleaven <n...@geany.org> ---
> An array *initializer* is allowed to have fewer elements.

Actually that only seems to apply when the initializer is a string literal.

char[4] s = [1]; // error
char[4] s = "a"; // OK

--

Reply via email to