[Issue 14977] Struct initializer doesn't work inside AA initializer

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Sep 1 04:57:51 PDT 2015


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

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
I'm surprised you can use struct initializers in an array, I thought you could
only use them to immediately initialize a single variable.

I think this is an enhancement request, not a bug, unless the language spec
says this should work.

--


More information about the Digitalmars-d-bugs mailing list