Skip to content

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 force-pushed the igfoo/getCompilationInfo branch from b46ad99 to 8a0286e Compare July 17, 2023 14:37
@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
Copy link
Contributor

@aschackmull aschackmull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@igfoo igfoo merged commit 532552a into github:main Jul 25, 2023
@igfoo igfoo deleted the igfoo/getCompilationInfo branch July 25, 2023 15:54
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.

2 participants