Skip to content

Fix for [SR-2486] Crash in NSDictionary.description with NSSet inside #644

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
merged 1 commit into from
Sep 16, 2016

Conversation

saiHemak
Copy link
Contributor

No description provided.

@saiHemak saiHemak changed the title Fix for [SR-2486] Crash in NSDictionary.description Fix for [SR-2486] Crash in NSDictionary.description with NSSet inside Sep 16, 2016
@phausler
Copy link
Contributor

@swift-ci Please test and merge

failedConversion = true
stop.pointee = true
// here obj must be a swift type
if let nsObject = _SwiftValue.store(obj) as? Element {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: can you make this an "else if" to avoid nested "if"?

Copy link
Contributor

Choose a reason for hiding this comment

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

Edit--never mind, since it's being merged

@swift-ci swift-ci merged commit 618f82d into swiftlang:master Sep 16, 2016
@saiHemak saiHemak deleted the nssetcrash-branch branch February 27, 2017 10:21
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.

4 participants