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

Don't break before [ or { in single argument function calls. #20

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

allevato
Copy link
Member

This change allows array/dictionary/closure literals that are the sole unlabeled
argument of a function call to keep the opening [ or { character on the same
line as the opening (, and likewise for the closing delimiter.

Fixes SR-11106.

This change allows array/dictionary/closure literals that are the sole unlabeled
argument of a function call to keep the opening `[` or `{` character on the same
line as the opening `(`, and likewise for the closing delimiter.

Fixes SR-11106.
@allevato allevato requested a review from akyrtzi July 24, 2019 14:58
@allevato allevato merged commit 0654d1a into swiftlang:master Jul 24, 2019
@allevato allevato deleted the sr-11106 branch July 24, 2019 17:16
aaditya-chandrasekhar pushed a commit to val-verde/swift-format that referenced this pull request May 20, 2021
Replace Commander with ArgumentParser in swift-doc target
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