Skip to content

[6.0][Diagnostics] Stop using unicode line characters #2587

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 #2581 into release/6.0

  • 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)

ASCII characters are more reliable.

(cherry picked from commit e53f379)
@rintaro rintaro requested review from ahoppen and bnbarham as code owners April 3, 2024 17:46
@rintaro
Copy link
Member Author

rintaro commented Apr 3, 2024

swiftlang/swift#72806
@swift-ci Please test

@rintaro rintaro merged commit d722cfc 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