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

only skip generic instances of structural types for destructors #24411

Closed
wants to merge 7 commits into from

Conversation

metagn
Copy link
Collaborator

@metagn metagn commented Nov 6, 2024

fixes #22479, fixes #24374, continuation of #23718

@arnetheduck
Copy link
Contributor

smells like #23445 in a different context :)

@metagn
Copy link
Collaborator Author

metagn commented Nov 17, 2024

Closing for now since #24425 was merged but the code might be useful in the future

@metagn metagn closed this Nov 17, 2024
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.

Wrong destructors injected for phantom types Wrong instance of the generic destructor is called
3 participants