Thread overview
[Issue 13496] ArrayInitializer rule is redundant
September 18, 2014
https://issues.dlang.org/show_bug.cgi?id=13496

bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc

--- Comment #1 from bearophile_hugs@eml.cc ---
See Issue 4703

--
September 18, 2014
https://issues.dlang.org/show_bug.cgi?id=13496

--- Comment #2 from briancschott@gmail.com ---
Never mind. You can't put a struct initializer inside of an array literal, so this won't work.

Now if {} wasn't a function literal, we could just make struct initializers part of primary expressions and be done with it.

--
September 18, 2014
https://issues.dlang.org/show_bug.cgi?id=13496

briancschott@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--