Skip to content

Ignore fixits for adding objc(selector) when doing migration, and fixits for mismatch label in overridden method #2734

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

akyrtzi
Copy link
Contributor

@akyrtzi akyrtzi commented May 27, 2016

What's in this pull request?

When picking-up fixits for migration ignore the fixits for adding @objc(selector).

These interact badly with the swift migrator, they are triggered by label mismatches in pre-migrated code.

We also don't generally need them since we do inference for the most common cases. The case where the inference may not work is un-idiomatic and rare (you would have the conforming method in the class but the protocol would show up in an extension in a different file instead of in the class.

Also ignore another diagnostic that is ‘correcting’ argument labels

Resolved bug number: (SR-)

rdar://26508866


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

akyrtzi added 2 commits May 26, 2016 18:24
…adding @objc(selector).

These interact badly with the swift migrator, they are triggered by label mismatches in pre-migrated code.

We also don't generally need them since we do inference for the most common cases.
@akyrtzi akyrtzi added this to the Swift 3.0 Preview 1 milestone May 27, 2016
@tkremenek
Copy link
Member

@swift-ci smoke test os x platform

@tkremenek tkremenek merged commit 2fc6e6f into swiftlang:swift-3.0-preview-1-branch May 27, 2016
@akyrtzi akyrtzi deleted the migration-ignore-fixits-26508866 branch January 8, 2019 06:22
MaxDesiatov pushed a commit that referenced this pull request Apr 19, 2021
[pull] swiftwasm from main
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