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
When formatting Swift code using swift-format, comments from one line are improperly duplicated to the following lines.
swift-format
Steps to Reproduce:
Create a Swift file (test.swift) with the following content:
test.swift
1 // test +1
Run the following command to format the code:
swift run swift-format test.swift
Check the contents of test.swift after formatting:
1 // test +1 // test
The text was updated successfully, but these errors were encountered:
Synced to Apple’s issue tracker as rdar://137698840
Sorry, something went wrong.
No branches or pull requests
When formatting Swift code using
swift-format
, comments from one line are improperly duplicated to the following lines.Steps to Reproduce:
Create a Swift file (
test.swift
) with the following content:Run the following command to format the code:
Check the contents of
test.swift
after formatting:The text was updated successfully, but these errors were encountered: