Skip to content
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

Java: Improve the diagnostics consistency query #13751

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

igfoo
Copy link
Contributor

@igfoo igfoo commented Jul 14, 2023

Diagnostics can be easier to read if you see them in the order in which they were generated. By selecting the compilation and indexes, they get sorted by the testsuite driver.

d.getCompilationInfo(c, f, i) would be a bit more natural as d = c.getDiagnostic(f, i), but currently we don't import Diagnostic into the default ('import java') namespace, and I don't think it's worth changing that for this.

Diagnostics can be easier to read if you see them in the order in which
they were generated. By selecting the compilation and indexes, they get
sorted by the testsuite driver.

d.getCompilationInfo(c, f, i) would be a bit more natural as
d = c.getDiagnostic(f, i), but currently we don't import Diagnostic into
the default ('import java') namespace, and I don't think it's worth
changing that for this.
@igfoo igfoo marked this pull request as ready for review July 17, 2023 17:20
@igfoo igfoo requested a review from a team as a code owner July 17, 2023 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant