Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue 8039 - scoped doesn't call any elaborate destructors for struct fields #569

Merged
merged 1 commit into from
May 7, 2012

Conversation

denis-sh
Copy link
Contributor

@denis-sh denis-sh commented May 4, 2012

Phobos isn't a place for runtime stuff like destroy. And Phobos developers aren't people who should write/check such stuff.

I hope error prone functions like destroy (removed in this pull) will be rejected by Phobos maintainers in future.

If anybody is curious why __dtor isn't working, see this:
http://d.puremagic.com/issues/show_bug.cgi?id=5667

Any criticism like "you bastard deleting our functions!" will be accepted.

@@ -3178,6 +3155,29 @@ unittest

unittest
{
static int dels;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add issue number as a comment.

…struct fields

Phobos isn't a place for runtime stuff like `destroy`. And Phobos developers aren't people who should write/check such stuff.
@denis-sh
Copy link
Contributor Author

denis-sh commented May 7, 2012

Please add issue number as a comment.

Added.

9rnsr added a commit that referenced this pull request May 7, 2012
Fix Issue 8039 - `scoped` doesn't call any elaborate destructors for struct fields
@9rnsr 9rnsr merged commit cc636be into dlang:master May 7, 2012
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.

2 participants