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

--- Comment #1 from 2011-11-21 08:30:21 PST ---
That works as designed. I do not understand what you would expect it to do.

immutable(Bla[]) _a; // this is an array that cannot be changed
immutable(Bla)[] a; // this is an array whose elements cannot be changed

a = _a; // fine. a is now a slice to _a's data

a.length = 5; // reallocate storage for a.
assert(_a.length == 0); // length of _a does not change as it is a different

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to