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

--- Comment #4 from Don <clugd...@yahoo.com.au> ---
Yeah, I had no idea this existed, either.

There are *no tests* in the CTFE test suite for static initialization of static
arrays with index specified! There is code for struct static initializers, but
not for these beasts.

So I guess this is a weird case which CTFE has never implemented at all. Quite
possibly the semantic pass is leaving it as an AA literal (but marked as a
static array type) instead of converting it to an actual array literal.

--

Reply via email to