Skip to content

Deduplicate import normalization candidates - #19

Merged
DanielThomas merged 1 commit into
mainfrom
fix/deduplicate-import-edits
Sep 19, 2026
Merged

DanielThomas merged 1 commit into
mainfrom
fix/deduplicate-import-edits

Conversation

@DanielThomas

Copy link
Copy Markdown
Member

Summary

  • deduplicate qualified-type candidates discovered during javac tree scanning
  • prevent compact record constructors from applying the same source edit twice
  • add a regression test covering import normalization for a qualified record component

Testing

  • ja test --all (156 tests)
  • ja compile --recompile
  • ran the fixed source formatter against the Ja source module; the previous five syntax errors are gone

Closes #18

@DanielThomas
DanielThomas merged commit af16e2e into main Sep 19, 2026
1 check passed
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.

Module-source attribution reports syntax errors for valid modern Java

1 participant