On Saturday, 1 November 2014 at 11:50:34 UTC, ketmar via Digitalmars-d wrote:
this *IS* a bug. either compiler should error on this, or it shouldn't modify random memory. imagine the situation when old array contents notonly collected by GC, but that memory was allocated to something completely different.
The old array is still alive and kicking. The left-hand side still references it. It wasn't collected. You're not writing to random memory.