We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
macOS 10.15 Swift 5.2.4 swift-format 0.50200.1 (--configuration debug)
--configuration debug
md5: 03dbcc7fa590f6df220907a3ac3b2572
Issue Description:
Formatting with `prioritizeKeepingFunctionOutputTogether` engaged can lead to assertion failures.
This code is enough to trip it:
init(a: B) {}
init(a: B) {
The text was updated successfully, but these errors were encountered:
cc @allevato
Sorry, something went wrong.
I get this error too even when setting:
prioritizeKeepingFunctionOutputTogether: false
using swift 5.5.2 + swift-format 0.50500.0 on ubuntu
EDIT:
Found a different culprit: rules: { BeginDocumentationCommentWithOneLineSummary: true }
rules: { BeginDocumentationCommentWithOneLineSummary: true }
Just got this error as well, prioritizeKeepingFunctionOutputTogether was the culprit.
prioritizeKeepingFunctionOutputTogether
No branches or pull requests
Environment
macOS 10.15
Swift 5.2.4
swift-format 0.50200.1 (
--configuration debug
)Additional Detail from JIRA
md5: 03dbcc7fa590f6df220907a3ac3b2572
Issue Description:
Formatting with `prioritizeKeepingFunctionOutputTogether` engaged can lead to assertion failures.
This code is enough to trip it:
init(a: B) {
}The text was updated successfully, but these errors were encountered: