Skip to content

[4.2] migrator: handle member variables change to global ones. rdar://41658300 #17672

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 3 commits into from
Jul 2, 2018

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Jul 2, 2018

Explanation: By manually experimenting with APIs, we found a few cases of nested variables in Xcode 9 change to global variables in Xcode 10. Since the pattern migrator used to handle is only the opposite direction, we need to update the swift-api-digester and the migrator to detect and handle this category of changes.

Scope of Issue: Swift 4.2 migrator

Risk: Very Low

Reviewed by: Nathan Hawes

Testing: Unit tests added.

Radar: rdar://41658300

@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Jul 2, 2018

@swift-ci please test

@nkcsgexi nkcsgexi merged commit 1008f06 into swiftlang:swift-4.2-branch Jul 2, 2018
@nkcsgexi nkcsgexi deleted the 4.2-global-name branch July 2, 2018 20:39
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.

1 participant