Skip to content

[ClangImporter] Defend against ObjC properties without getters #17429

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
Jun 22, 2018

Conversation

jrose-apple
Copy link
Contributor

Objective-C provides no way to declare such a thing, so for this to occur something else must have gone wrong. Unfortunately all we have is a SourceKit crash log, so I couldn't write a test case. Hopefully some day the assert will fire and we can handle this properly.

rdar://problem/41305904

Objective-C provides no way to declare such a thing, so for this to
occur something else must have gone wrong. Unfortunately all we have
is a SourceKit crash log, so I couldn't write a test case. Hopefully
some day the assert will fire and we can handle this properly.

rdar://problem/41305904
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

Copy link
Contributor

@benlangmuir benlangmuir left a comment

Choose a reason for hiding this comment

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

LGTM! I am equally mystified about how this could happen in clang.

@jrose-apple jrose-apple merged commit 2107bdf into swiftlang:master Jun 22, 2018
@jrose-apple jrose-apple deleted the get-wrecked branch June 22, 2018 20:28
jrose-apple added a commit to jrose-apple/swift that referenced this pull request Jun 22, 2018
…lang#17429)

Objective-C provides no way to declare such a thing, so for this to
occur something else must have gone wrong. Unfortunately all we have
is a SourceKit crash log, so I couldn't write a test case. Hopefully
some day the assert will fire and we can handle this properly.

rdar://problem/41305904
(cherry picked from commit 2107bdf)
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