Skip to content
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

[SR-14050][Sema] Removing check on subtype validation at matchFunctionRepresentations #35580

Merged
merged 1 commit into from Jan 26, 2021

Conversation

LucianoPAlmeida
Copy link
Collaborator

For what I could see and test seems is just fine to remove this check and just adding a bit more information. Most relations between function types are handled by conversions.
I'm running the tests to make sure, but let me know if you think there are some situation where the check still be necessary.

Resolves SR-14050.

@LucianoPAlmeida
Copy link
Collaborator Author

@swift-ci Please test source compatibility

@LucianoPAlmeida
Copy link
Collaborator Author

@swift-ci Please test source compatibility Release

Copy link
Member

@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.

Makes sense to me to remove it!

@varungandhi-apple
Copy link
Contributor

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit a86430b into apple:main Jan 26, 2021
@LucianoPAlmeida LucianoPAlmeida deleted the SR-14050 branch February 5, 2021 23:40
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.

None yet

4 participants