Skip to content

Conversation

@cheeseng
Copy link
Contributor

@cheeseng cheeseng commented Dec 9, 2025

Resolves an issue where Scaladoc was generating duplicate entries for the same members when combining results from multiple parser instances.

The fix implements deduplication by creating a stable composite key from the member's location, full name, and kind. When duplicates are found, the entry with documentation is preferred, falling back to the first entry if none have docs.

This ensures clean, non-redundant API documentation output.

Resolves an issue where Scaladoc was generating duplicate entries for
the same members when combining results from multiple parser instances.

The fix implements deduplication by creating a stable composite key from
the member's location, full name, and kind. When duplicates are found,
the entry with documentation is preferred, falling back to the first
entry if none have docs.

This ensures clean, non-redundant API documentation output.

Co-authored-by: Bill Venners <[email protected]>
@bvenners
Copy link

bvenners commented Dec 9, 2025

The one place where I saw this happening was AnyVal:

DuplicateAnyVal

This PR fixes that.

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.

3 participants