Skip to content

[Type checker] Suggest @objc for ill-formed extensions of ObjC generic classes. #14903

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
Mar 1, 2018

Conversation

DougGregor
Copy link
Member

@objc is used as a proxy to allow 'self' to access type parameters within
an extension of an Objective-C generic class. Suggest it in cases where it
might make sense.

Clarifies the fix for cases like rdar://problem/27796182.

…c classes.

@objc is used as a proxy to allow 'self' to access type parameters within
an extension of an Objective-C generic class. Suggest it in cases where it
might make sense.

Clarifies the fix for cases like rdar://problem/27796182.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit efad1c9 into swiftlang:master Mar 1, 2018
@DougGregor DougGregor deleted the objc-ext-generic-objc-class branch March 1, 2018 16:59
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