Skip to content

[CSDiag] Remove nested type and use TC.isConvertible instead #17106

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

Conversation

AnthonyLatsis
Copy link
Collaborator

cc @xedin

Noticed we have existing functionality for convertibility checking

@slavapestov slavapestov self-assigned this Jun 11, 2018
@slavapestov
Copy link
Contributor

@swift-ci Please smoke test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

Looks reasonable, but involving matchTypes might not always produces the same results as simplified code TypeConvertibleChecker had.

@AnthonyLatsis
Copy link
Collaborator Author

AnthonyLatsis commented Jun 11, 2018 via email

@slavapestov
Copy link
Contributor

I'm fine with this. It removes some duplication, and if isConvertible() is wrong we need to fix any problems there.

@slavapestov slavapestov merged commit 51319ee into swiftlang:master Jun 12, 2018
@AnthonyLatsis AnthonyLatsis deleted the clean_subscript_fixits_logic branch February 17, 2022 21:04
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.

3 participants