Skip to content

use getConformingProtocols when printing opaque generic types #58991

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 2 commits into from
May 25, 2022

Conversation

QuietMisdreavus
Copy link
Contributor

Resolves rdar://93610106

When printing a function with an opaque some MyProtocol type in its argument list from a serialized AST, the current mechanism to print that protocol fails. This PR updates that code to use a check that works on both source files and serialized ASTs.

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please smoke test

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please smoke test

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