Skip to content

Conversation

rossabaker
Copy link
Member

Either this or #4718 is sufficient to fix #4716. I propose we want both, but they are orthogonal.

Original problem and solution are from scala/scala#10912.

@rossabaker
Copy link
Member Author

As noted on #4716, testing the inequality of hash codes is tricky business, but I think we could imagine a test that checks against the collision that motivated this ticket in the first place. (The standard library did!)

@rossabaker rossabaker merged commit 8aca8a8 into main Mar 6, 2025
33 checks passed
@satorg satorg deleted the issue-4716-2 branch July 6, 2025 02:04
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.

Chain#hashCode is consistent with List#hashCode failure
3 participants