Skip to content

[5.5] [CodeCompletion] Use substGenericArgs in getTypeOfMember #38475

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

hamishknight
Copy link
Contributor

5.5 cherry-pick of #38447


For a GenericFunctionType, use substGenericArgs instead of subst, as the latter would form a bad generic signature if there were UnresolvedTypes present in the base type, causing the GSB to blow up when attempting to canonicalize it.

rdar://80635105

For a GenericFunctionType, use `substGenericArgs`
instead of `subst`, as the latter would form a bad
generic signature if there were UnresolvedTypes
present in the base type, causing the GSB to blow
up when attempting to canonicalize it.

rdar://80635105
@hamishknight hamishknight requested a review from akyrtzi July 19, 2021 17:15
@hamishknight hamishknight requested a review from a team as a code owner July 19, 2021 17:15
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit 921e8b5 into swiftlang:release/5.5 Jul 19, 2021
@hamishknight hamishknight deleted the fewer-substitutions-for-you-5.5 branch July 19, 2021 21:28
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.5 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.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants