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 22680 - @safe hole with destructors #14402

Merged
merged 1 commit into from Sep 5, 2022

Conversation

WalterBright
Copy link
Member

Trying this out.

Made it only for class destructors, not struct destructors, because struct this is passed by ref, not by pointer.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
22680 minor @safe hole with destructors

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#14402"

@WalterBright
Copy link
Member Author

This is blocked by dlang/phobos#8551 which is blocked by master not working.

@RazvanN7 RazvanN7 merged commit e4bce5a into dlang:master Sep 5, 2022
@WalterBright WalterBright deleted the fix22680 branch September 5, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants