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

Mathias LANG <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #18 from Mathias LANG <[email protected]> ---
```
void main () @nogc
{
    int[3] a = [1, 2, 3];
    a = [4, 5, 6];
}
```

This does not allocate anymore.
The static array literal syntax would be nice, but Walter has vetoed it IIRC.
Closing as fixed.

--

Reply via email to