Avoid having both primary and secondary underlines on the same spans by supporting multiple primary errors. #41850
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
While working on #41256, @jonathandturner proposed a specific syntax for having multiple primary errors on one line, like the example below. This required changes to the way the
DiagnosticBuilder
works and since I don't have enough knowledge of the codebase I am writing this follow-up issue.An error with multiple unused arguments will look like the example below after merging #41256.
This example is having the same kind of error multiple times in one expression, and would ultimately look something like the example below since we try to avoid having both primary and secondary underlines on the same spans:
The text was updated successfully, but these errors were encountered: