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

--- Comment #3 from FeepingCreature <[email protected]> ---
Well, there's lots of ways to avoid this issue. Zeroing, as you say. I'm just
putting up this bug to note it's a straightforward issue as it stands. We're
used to treating the GC the way we know it works rather than the way it
theoretically could work, doing array.dup to cut off dead elements, etc., and
at any rate the GC isn't *obligated* to collect anything ever, etc etc. But
naively, this is still surprising behavior.

--

Reply via email to