Skip to content

[5.3] ReplaceOpaqueTypesWithUnderlyingTypes: Handle a type being "substituted" with itself. #31788

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

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented May 14, 2020

5.3 cherry-pick of #31773

Explanation: Fixes a crash in some situations involving highly composed opaque return types.
Scope: Bug fix
Radar: rdar://62072397
Risk: Low
Testing: Full CI, local testing
Reviewed by: @aschwaighofer

…ed" with itself.

SIL type lowering might have already substituted away an opaque type during a SIL substitution.
Fixes rdar://problem/62072397.
@jckarter jckarter requested a review from a team as a code owner May 14, 2020 18:45
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter
Copy link
Contributor Author

@swift-ci Please nominate

@tkremenek tkremenek merged commit 13076ab into swiftlang:release/5.3 May 14, 2020
@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.

4 participants