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 4316 - this(this) cannot become safe function. #480

Merged
merged 2 commits into from
Nov 1, 2011

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Oct 29, 2011

http://d.puremagic.com/issues/show_bug.cgi?id=4316

Hidden member function __cpctor should have same attributes as postblit.

9rnsr added 2 commits October 29, 2011 14:47
Inherit postblit attributes to cpctor.
If postblit has @safe attribute, make cpctor as @trusted.
WalterBright added a commit that referenced this pull request Nov 1, 2011
Issue 4316 - this(this) cannot become safe function.
@WalterBright WalterBright merged commit bc3995d into dlang:master Nov 1, 2011
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