Skip to content

Ensure that NSCharacterSet always returns an NSObject on copy #5118

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

Merged

Conversation

parkera
Copy link
Contributor

@parkera parkera commented Oct 22, 2024

Follow up to #5107, fixes an issue where an assert in the stdlib cast was failing in assertions-enabled mode.

rdar://138005684

@parkera
Copy link
Contributor Author

parkera commented Oct 22, 2024

@swift-ci test

Copy link
Contributor

@itingliu itingliu left a comment

Choose a reason for hiding this comment

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

🤯

@itingliu
Copy link
Contributor

In case we forget: We'd want to cherry pick to 6.0 and 6.0.2 as well

@parkera parkera merged commit af2bcc5 into swiftlang:main Oct 22, 2024
2 checks passed
@parkera parkera deleted the parkera/characterset_leak_cast_followup branch October 22, 2024 21:52
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.

3 participants