Skip to content

[5.7][ASTPrinter] Don't desugar typealiases in existential types. #60012

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

hborla
Copy link
Member

@hborla hborla commented Jul 12, 2022

This effectively reverts #59077, which only exhibits the correct behavior when the any keyword is also printed. Without the any keyword, existential types aren't correctly parenthesized.

Resolves: rdar://96845685

@hborla hborla requested a review from a team as a code owner July 12, 2022 02:22
@hborla
Copy link
Member Author

hborla commented Jul 12, 2022

@swift-ci please test

@hborla hborla force-pushed the 5.7-revert-existential-typealias-desugaring branch from e5eb588 to 3041ad9 Compare July 12, 2022 06:16
@hborla
Copy link
Member Author

hborla commented Jul 12, 2022

@swift-ci please test

@hborla hborla merged commit 30d0b1c into swiftlang:release/5.7 Jul 13, 2022
@hborla hborla deleted the 5.7-revert-existential-typealias-desugaring branch July 13, 2022 16:10
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.

3 participants