[Issue 23162] cannot use new on a static array type that's aliased

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 8 16:28:02 UTC 2022


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

Basile-z <b2.temp at gmx.com> changed:

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

--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
indeed, TIL `new int[1]` is like `new int[](1)`.

--


More information about the Digitalmars-d-bugs mailing list