Skip to content

[4.2] migrator: support migration of raw representable initializer calls without explicit labels. #17715

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
Jul 4, 2018

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Jul 3, 2018

Explanation: Some raw representable struct from SDK can be initialized without
explicit labels (rawValue:). When their types have been changed to type
alias, we should migrate the initializer calls to the argument alone.
Scope: Swift 4.2 migrator
Radar/SR Issue: rdar://41740103
Risk: Low
Testing: Unit tests added
Reviewer: Nathan Hawes

…thout explicit labels. rdar://41740103

Some raw representable struct from SDK can be initialized without
explicit labels (rawValue:). When their types have been changed to type
alias, we should migrate the initializer calls to the argument alone.
@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Jul 3, 2018

@swift-ci please test

@nkcsgexi nkcsgexi merged commit a8f4675 into swiftlang:swift-4.2-branch Jul 4, 2018
@nkcsgexi nkcsgexi deleted the cherry-pick-41740103 branch July 4, 2018 05:33
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