Skip to content

Conversation

monarchdodra
Copy link
Collaborator

As (re)discovered here:
http://forum.dlang.org/thread/bdzwpmehiazpicftbxko@forum.dlang.org

Also fixed some more cases where we only destroyed structs (what about static arrays?). Overall, the rule of thumb is .destroy iff hasElaborateDestructor!T.

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

@ghost
Copy link

ghost commented Apr 12, 2014

LGTM. I think this should be safe to merge.

@ghost
Copy link

ghost commented Apr 12, 2014

Auto-merge toggled on

ghost pushed a commit that referenced this pull request Apr 12, 2014
Fix Issue 6998 - std.container.Array destroys class instances
@ghost ghost merged commit e9e8d93 into dlang:master Apr 12, 2014
@monarchdodra monarchdodra deleted the 6998 branch April 18, 2014 06:14
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant