Skip to content

Add a bailout path to protocol requirement source formation #27885

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
Oct 25, 2019

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Oct 25, 2019

The GSB will try to form and note invalid constraints, but there are
a few paths that aren't prepared for error types to pop up. Add
a defensive check to formProtocolRelativeType to make sure we don't wind
up force-casting an error type.

Fixes rdar://56116278

The GSB will try to form and note invalid constraints, but there are
a few paths that aren't prepared for error types to pop up.  Add
a defensive check to formProtocolRelativeType to make sure we don't wind
up force-casting an error type.

Fixes rdar://56116278
@CodaFi CodaFi requested a review from DougGregor October 25, 2019 20:09
@CodaFi
Copy link
Contributor Author

CodaFi commented Oct 25, 2019

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 21ffcf1 into swiftlang:master Oct 25, 2019
@CodaFi CodaFi deleted the a-breach-of-protocol branch October 25, 2019 21:48
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