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

John Colvin <[email protected]> changed:

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

--- Comment #2 from John Colvin <[email protected]> ---
(In reply to Marco Leise from comment #1)
> You are not indexing T, you are creating a static array of length 0, hence
> why it returns 0 for the size. Try T.init[0] instead to use an instance of T.

Yeah that's what I did in the actual code, no idea why I didn't spot that it
was a static array.

--

Reply via email to