https://issues.dlang.org/show_bug.cgi?id=14134
Martin Nowak <c...@dawg.eu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |c...@dawg.eu --- Comment #9 from Martin Nowak <c...@dawg.eu> --- (In reply to Rainer Schuetze from comment #8) > Other notes: > > - The current version also "works" for memory allocated outside the GC, it > just doesn't free the memory. That should be fixed, we don't want to promote delete arr[] as a method to destroy a slice. > There is no good way to destroy an array except delete. foreach (ref el; ary) destroy(el); --