Skip to content

Conversation

@d-ronnqvist
Copy link
Contributor

… formatter (swiftlang#947)

* Clamp lines to highlight in a diagnostic to the source lines

* Add test about highlight for in-bounds range of a line

* Clamp diagnostic line highlight to the bounds of each source line

rdar://129586253
@d-ronnqvist d-ronnqvist requested a review from franklinsch June 11, 2024 14:26
@d-ronnqvist
Copy link
Contributor Author

@swift-ci please test

@d-ronnqvist d-ronnqvist merged commit daf46af into swiftlang:release/6.0 Jun 12, 2024
@d-ronnqvist d-ronnqvist deleted the duplicate-image-diagnostic-crash-6.0 branch June 12, 2024 12:31
@Kyle-Ye Kyle-Ye linked an issue Jun 12, 2024 that may be closed by this pull request
2 tasks
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.

Duplicated diagnostic causing crash on DefaultDiagnosticConsoleFormatter

2 participants