Skip to content

[5.9] Various cherry-picks since the branch cut. #556

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 26 commits into from
Jun 29, 2023

Conversation

allevato
Copy link
Member

No description provided.

allevato and others added 26 commits June 29, 2023 09:14
Fix formatting of import with multiple attributes (fixes swiftlang#445) and ensure that imports never wrap
Fix fatal error caused by switch cases without any statements (swiftlang#473)
Remove the `swift-tools-support-core` dependency from swift-format.
…tion

[SwiftSyntax] Remove force unwrapping for source location
Fix pretty printing of multi-statement closures (issue swiftlang#494)
Avoid removing certain disambiguating parens from conditions (fixes swiftlang#298)
Adjustment for SwiftSyntax rename `members` -> `memberBlock`
…-dependency

Change version dependency on `swift-argument-parser` to from `upToNextMinor` to `upToNextMajor`
Fix indentation of multiline strings when part of a larger expression.
Fix `try`/`await` expressions in `NoAssignmentInExpressions`.
…fixes

Further improve multiline string formatting.
…fixes

Allow exceptions to `NoAssignmentInExpressions`.
Fix `async throws` function types when they appear in an expression context.
…hite_space

Insert white space before trailing closure of a macro expression
Don't insert an extra break inside empty multiline strings.
…errors

Downgrade `editor placeholder in source file` from error to warning.
Improve wrapping of if/switch expressions.
Fix postfix-`#if` formatting when they come after a closing parenthesis.
Fix indentation of multiline strings in enum case raw values.
@allevato allevato merged commit 4f559a0 into swiftlang:release/5.9 Jun 29, 2023
@allevato allevato deleted the 5.9-cherrypicks branch June 29, 2023 16:05
rintaro added a commit to rintaro/swift-syntax that referenced this pull request Jun 30, 2023
Re-apply ./format.py after swift-format change
swiftlang/swift-format#556
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