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

Issue 13661 - static array init does not call destructors #4100

Merged
merged 2 commits into from Nov 23, 2014

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Oct 31, 2014

@9rnsr
Copy link
Contributor Author

9rnsr commented Nov 1, 2014

While supporting CTFE for issue 13661, I found another CTFE issue:
issue 13669 - [CTFE] Destructor call on static array variable is not yet supported in CTFE.

Now this PR fixes both issues and will correctly support destructor calls in CTFE.

@9rnsr
Copy link
Contributor Author

9rnsr commented Nov 20, 2014

Rebased, and ready to merge.

@WalterBright
Copy link
Member

Auto-merge toggled on

WalterBright added a commit that referenced this pull request Nov 23, 2014
Issue 13661 - static array init does not call destructors
@WalterBright WalterBright merged commit 4aeb771 into dlang:master Nov 23, 2014
@9rnsr 9rnsr deleted the fix13661 branch November 23, 2014 15:01
@ibuclaw
Copy link
Member

ibuclaw commented Feb 1, 2016

I find it bizarre that the compiler must generate the buffer, when the callee is more than capable of alloca'ing one itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants