On Monday, 17 October 2016 at 18:17:24 UTC, Ali Çehreli wrote:
On 10/17/2016 11:10 AM, vino wrote:
[...]


What version is your compiler? My version is DMD64 D Compiler v2.072.0-b2.

Trying the code with a recent compiler produces three compilation errors for the following three lines

    immSlice ~= 3;
    immSlice[0] = 3;
    immSlice.length = 1;

Error: cannot modify immutable expression immSlice
Error: cannot modify immutable expression immSlice[0]
Error: cannot modify immutable expression immSlice

Ali

Hi Ali,

  I am using DMD64 D Compiler v2.071.2-b5

Reply via email to