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

Ali Cehreli <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Ali Cehreli <[email protected]> ---


(In reply to Basile-z from comment #6)
> Is this supposed to work now ?
> 
> 
> void main()
> {
>     int[][] arr = void;

That is the problem. We can't use arr in any meaningful way because it already
has garbage number of garbage elements.

>     arr.length = 10;

It reduces the length to 10 but all the elements are garbage.

--

Reply via email to