Skip to content

SIL: Profile the witnesMethodConformance as part of the SILFunctionType #19463

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

aschwaighofer
Copy link
Contributor

We use to return a SILFunctionType with a wrong witness method protocol
conformance e.g when there were base protocols.

rdar://40149340

We use to return a SILFunctionType with a wrong witness method protocol
conformance e.g when there were base protocols.

rdar://40149340
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test and merge

Copy link
Contributor

@rjmccall rjmccall left a comment

Choose a reason for hiding this comment

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

Oh, wow. Yeah, that would definitely explain the problems here.

@rjmccall
Copy link
Contributor

This is possibly something we should pull into 4.2, since we do rely on this information already (albeit in more constrained contexts, but I can't see why it wouldn't equally cause problems for them; maybe things just happen to always line up right because of the narrowness of how the conformance is used?). @slavapestov might have thoughts about that.

@aschwaighofer
Copy link
Contributor Author

4.2 branch here: #19464

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please test macos

@aschwaighofer aschwaighofer merged commit 8f284e5 into swiftlang:master Sep 22, 2018
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