Skip to content

Conversation

mbien
Copy link
Member

@mbien mbien commented Oct 18, 2025

ErrorDescriptionFactory can now compute spans for record declarations. This allows hints like Unused to correctly highlight hints on records.

TreeUtilities: use compact Collections and minor cleanup.

note: record is parsed as an identifier token since it is no reserved keyword, that is why this needs special casing.

before:
image

after:
image

@mbien mbien added this to the NB29 milestone Oct 18, 2025
@mbien mbien requested a review from lahodaj October 18, 2025 01:30
@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) hints labels Oct 18, 2025
@mbien
Copy link
Member Author

mbien commented Oct 18, 2025

oops. looks like a few tests failed.

@mbien mbien marked this pull request as draft October 18, 2025 02:01
ErrorDescriptionFactory can now compute spans for record declarations.
This allows hints like Unused to correctly highlight hints on records.

TreeUtilities: use compact Collections and minor cleanup.
@mbien mbien marked this pull request as ready for review October 18, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hints Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant