Skip to content

[PrintAsObjC] Don't warn about inferred '@objc' in Swift 3 mode. #9756

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

Conversation

jrose-apple
Copy link
Contributor

Only do so in modes where @objc is inferred but we're supposed to warn about it. Neither plain old Swift 3 nor plain old Swift 4 are in this state, but we have frontend options that allow us to set that up for migration purposes.

rdar://problem/32284936

Only do so in modes where '@objc' /is/ inferred but we're supposed to
warn about it. Neither plain old Swift 3 nor plain old Swift 4 are in
this state, but we have frontend options that allow us to set that up
for migration purposes.

rdar://problem/32284936
@jrose-apple jrose-apple requested a review from DougGregor May 19, 2017 00:51
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

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

Looks good, thank you for doing this!

@jrose-apple jrose-apple merged commit 2e47272 into swiftlang:master May 19, 2017
@jrose-apple jrose-apple deleted the objc-inference-is-only-deprecated-in-swift-4 branch May 19, 2017 14:33
jrose-apple added a commit to jrose-apple/swift that referenced this pull request May 19, 2017
…ftlang#9756)

Only do so in modes where '@objc' /is/ inferred but we're supposed to
warn about it. Neither plain old Swift 3 nor plain old Swift 4 are in
this state, but we have frontend options that allow us to set that up
for migration purposes.

rdar://problem/32284936
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