Skip to content

[generics] Change replaceWithSpecializedCallee to use an exhaustive switch. #32290

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

gottesmm
Copy link
Contributor

This will ensure that if we ever add additional apply sites, we will get a
warning to update this code. I also updated the coding style in this old piece
of code.

Just noticed this as I was preparing to update some code here. Should be NFC.

…witch.

This will ensure that if we ever add additional apply sites, we will get a
warning to update this code. I also updated the coding style in this old piece
of code.

Just noticed this as I was preparing to update some code here. Should be NFC.
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

lgtm

@gottesmm gottesmm merged commit f80d6ab into swiftlang:master Jun 10, 2020
@gottesmm gottesmm deleted the pr-d9bd430041dcb06e248e0e81c365b24f63bd84c7 branch June 10, 2020 15: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