Skip to content

[6.0][Tests] Update for "swift" diagnostic style change #72806

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 1 commit into from
Apr 4, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Apr 3, 2024

Cherry-pick #72754 into release/6.0

(copied from swiftlang/swift-syntax#2587)

  • Explanation: Previously, diagnostics were printed with Unicode line characters e.g. . It looked nice, but it caused numerous issues, for example viewing a build log with text editor / browser often don't work. That was because auto text-encoding detection didn't work as those characters only appeared at the tail end of the log. So using ASCII characters are more stable and reliable.
  • Scope: diagnostics priiting
  • Risk: Low, the diagnostic style is new and nobody should be relying on it
  • Testing: Updated regression test cases
  • Issues: N/A
  • Reviewer: Doug Gregor (@DougGregor), Ben Barham(@bnbarham)

SwiftDiagnostics now emits ASCII characters instead of Unicode line
characters.

(cherry picked from commit 8a8c96b)
@rintaro
Copy link
Member Author

rintaro commented Apr 3, 2024

swiftlang/swift-syntax#2587
@swift-ci Please test

@rintaro rintaro merged commit b12d082 into swiftlang:release/6.0 Apr 4, 2024
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