Skip to content

Conversation

@DougGregor
Copy link
Member

Address two issues regarding the diagnostic type indicators in formatted diagnostics.

  1. When colors were disabled, we wouldn't get any of the diagnostic type indicators because the "colorize" check came too early. Make sure they're consistently applied whether colorized or not.
  2. There was no "note:" prefix, so it wasn't clear which things were notes.

…ning/error)

Address two issues regarding the diagnostic type indicators in
formatted diagnostics.

1. When colors were disabled, we wouldn't get any of the diagnostic
type indicators because the "colorize" check came too early. Make sure
they're consistently applied whether colorized or not.
2. There was no "note:" prefix, so it wasn't clear which things were
notes.
@DougGregor DougGregor requested a review from ahoppen as a code owner March 1, 2023 17:39
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit 5594b98 into swiftlang:main Mar 2, 2023
@DougGregor DougGregor deleted the diagnostics-formatter-diag-kinds branch March 2, 2023 02:41
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.

1 participant