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

Various fixes for some 509.0.0 bugs. #666

Merged
merged 3 commits into from
Nov 27, 2023
Merged

Conversation

allevato
Copy link
Member

Also refine the treatment of the closing bracket so that it is only
forced to go onto a new line if the subscript component is not the
last component in the keypath. This aligns with how we handle
closing brackets/parentheses in member access chains.

Fixes swiftlang#663.
Like with `some/any` type sugar, when we simplify an `Optional` whose
type parameter is an attributed type, we need to wrap it in parentheses
so that the `?` doesn't bind with the contained type.

Fixes swiftlang#657.
@allevato
Copy link
Member Author

CI came back green. Will need to wait until the holiday freeze is over to merge.

@allevato allevato merged commit a8f5553 into swiftlang:main Nov 27, 2023
@allevato allevato deleted the various-fixes branch November 27, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant