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

Basile B. <b2.t...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.t...@gmx.com

--- Comment #2 from Basile B. <b2.t...@gmx.com> ---
Grammartically it's valid (it's the first new rule, i.e `new
AllocatorArgumentsopt Type`) but since `new` for arrays doesn't return a
pointer to an array, allowing this would be a bit pointless because

  `int[] a = new int[];`

would be the same as

  `int[] a;`

--

Reply via email to