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

[5.3] Propagate Failures Explicitly in Opaque Type Resolution #31497

Merged

Conversation

CodaFi
Copy link
Member

@CodaFi CodaFi commented May 2, 2020

Cherry-picked from #31484

This code should not yield the null Type() on failure. Instead, diagnose
the failure and yield an ErrorType. This matches what clients of this
function expect to signal failure.

Include a regression test that exercises a common failure mode if we
don't do this: module interface loading crashes.

rdar://62745419

This code should not yield the null Type() on failure. Instead, diagnose
the failure and yield an ErrorType. This matches what clients of this
function expect to signal failure.

Include a regression test that exercises a common failure mode if we
don't do this: module interface loading crashes.

rdar://62745419
@CodaFi CodaFi added the r5.3 label May 2, 2020
@CodaFi CodaFi requested a review from jckarter May 2, 2020 07:11
@CodaFi
Copy link
Member Author

CodaFi commented May 2, 2020

@swift-ci test

Copy link
Member

@jckarter jckarter left a comment

Choose a reason for hiding this comment

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

Thanks!

@CodaFi
Copy link
Member Author

CodaFi commented May 4, 2020

@CodaFi CodaFi merged commit d41e815 into apple:release/5.3 May 4, 2020
@CodaFi CodaFi deleted the results-valid-for-a-limited-time-only branch May 4, 2020 17:13
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants