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

Wrap keypath literals appropriately. #545

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

allevato
Copy link
Member

We were previously just letting these get printed verbatim; at some point, this behavior changed and we were getting rid of any breaks the user had put inside them (I observed this in internal code where a keypath was broken across lines; we don't have any test cases covering that).

We were previously just letting these get printed verbatim; at some
point, this behavior changed and we were getting rid of any breaks
the user had put inside them (I observed this in internal code where
a keypath was broken across lines; we don't have any test cases
covering that).
@allevato
Copy link
Member Author

cc @dylansturg

@allevato allevato merged commit 61e4cf5 into swiftlang:main Jun 20, 2023
@allevato allevato deleted the keypath-wrapping branch June 20, 2023 15:22
allevato added a commit to allevato/swift-format that referenced this pull request Jun 29, 2023
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.

None yet

2 participants